Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 211.2 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.175/3.175, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 70.77 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005246/0.3313, allocations: 3.089 MB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002955/0.3343, allocations: 1.691 MB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3344, allocations: 7.938 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.3354, allocations: 330.8 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.3359, allocations: 215.1 kB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.3364, allocations: 187.5 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000376/0.3368, allocations: 315 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.3371, allocations: 173 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.3373, allocations: 147.5 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.3376, allocations: 167.4 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.3377, allocations: 20 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.338, allocations: 211.6 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3382, allocations: 111.6 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.3383, allocations: 95.59 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005652/0.3388, allocations: 426.5 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3388, allocations: 3.938 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.849e-06/0.3388, allocations: 4 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3389, allocations: 4 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009611/0.3398, allocations: 493.2 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3399, allocations: 8.031 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.3399, allocations: 66.7 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007192/0.3407, allocations: 92.69 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.341, allocations: 195.9 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.341, allocations: 16.81 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3411, allocations: 32.53 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.3418, allocations: 427.9 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3418, allocations: 0 / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.3418, allocations: 8 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.3419, allocations: 32.41 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.3424, allocations: 301.5 kB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.3442, allocations: 1.1 MB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.3446, allocations: 206.4 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3448, allocations: 112.7 kB / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.77e-05/0.3449, allocations: 11.98 kB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3449, allocations: 30.56 kB / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.3449, allocations: 0 / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001288/0.3462, allocations: 0.7194 MB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3462, allocations: 51.41 kB / 1.374 GB, free: 2.859 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.3464, allocations: 198.7 kB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3465, allocations: 33.7 kB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3466, allocations: 164.2 kB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.3466, allocations: 63.44 kB / 1.375 GB, free: 2.391 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.3467, allocations: 57.64 kB / 1.375 GB, free: 2.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3469, allocations: 330.8 kB / 1.375 GB, free: 1.996 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.3471, allocations: 115.9 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3473, allocations: 167.5 kB / 1.375 GB, free: 1.699 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.3477, allocations: 300 kB / 1.376 GB, free: 1.387 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3477, allocations: 4 kB / 1.376 GB, free: 1.383 MB / 1.061 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000796/0.3485, allocations: 410.6 kB / 1.376 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3485, allocations: 10.34 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3486, allocations: 4.188 kB / 1.376 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.349, allocations: 96.77 kB / 1.376 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.3492, allocations: 51.89 kB / 1.376 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.3513, allocations: 1.764 MB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3515, allocations: 23.94 kB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3515, allocations: 11.94 kB / 1.378 GB, free: 14.9 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.3517, allocations: 153.8 kB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.3518, allocations: 19.95 kB / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.3523, allocations: 305.8 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3523, allocations: 7.984 kB / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.3523, allocations: 3.938 kB / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3523, allocations: 7.875 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009809/0.3533, allocations: 0.6475 MB / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3533, allocations: 0 / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.3536, allocations: 52.02 kB / 1.379 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3536, allocations: 11.94 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.3536, allocations: 8 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3536, allocations: 0 / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3536, allocations: 3.938 kB / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.3543, allocations: 0.5049 MB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3544, allocations: 43.77 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.3544, allocations: 12.06 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3546, allocations: 15.97 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3546, allocations: 11.98 kB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.3547, allocations: 4 kB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001527/0.3548, allocations: 156.1 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3548, allocations: 0 / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003544/0.3552, allocations: 60 kB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.3562, allocations: 1.064 MB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007507/0.3569, allocations: 414.8 kB / 1.381 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3569, allocations: 3.938 kB / 1.381 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3571, allocations: 115.8 kB / 1.381 GB, free: 11.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3575, allocations: 30.77 kB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.3615, allocations: 2.886 MB / 1.384 GB, free: 8.105 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.3617, allocations: 169.2 kB / 1.384 GB, free: 7.922 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.3618, allocations: 57.84 kB / 1.384 GB, free: 7.867 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.362, allocations: 67.41 kB / 1.384 GB, free: 7.801 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/0.362, allocations: 0 / 1.384 GB, free: 7.801 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.4078, allocations: 5.711 MB / 1.39 GB, free: 2.254 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 2.562 kB / 1.39 GB, free: 2.254 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen.I in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.I from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable sen.V in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.V from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[2] in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[2] from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.651652385946363]