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.001597/0.001597, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001967/0.001967, allocations: 216.1 kB / 22.25 MB, free: 5.082 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 8.02 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.087/3.087, allocations: 0.505 GB / 0.8101 GB, free: 22.14 MB / 0.6231 GB " [Timeout remaining time 177] 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.001948/0.001948, allocations: 65.81 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.329, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004827/0.3339, allocations: 3.213 MB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3368, allocations: 1.815 MB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.3369, allocations: 4 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.338, allocations: 346.6 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.3385, allocations: 223.1 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.3389, allocations: 175.5 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.3393, allocations: 315 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.3396, allocations: 180.9 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.3398, allocations: 147.5 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.3401, allocations: 167.4 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.3402, allocations: 28 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.3406, allocations: 243.5 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3407, allocations: 99.77 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3408, allocations: 127.3 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.3413, allocations: 430.5 kB / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3413, allocations: 0 / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3413, allocations: 0 / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.3413, allocations: 0 / 1.36 GB, free: 0.9609 MB / 1.045 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.0009389/0.3423, allocations: 493.3 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3423, allocations: 12.03 kB / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.387e-05/0.3424, allocations: 58.73 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007117/0.3431, allocations: 96.64 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.3434, allocations: 208.1 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3434, allocations: 12.81 kB / 1.361 GB, free: 40 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.3435, allocations: 28.55 kB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.3441, allocations: 376.5 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3441, allocations: 0 / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.3442, allocations: 11.98 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.901e-05/0.3443, allocations: 32.41 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.3448, allocations: 301.5 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.3466, allocations: 1.502 MB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.347, allocations: 218.4 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3472, allocations: 100.8 kB / 1.363 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.3473, allocations: 8 kB / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3473, allocations: 38.56 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.3473, allocations: 0 / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001236/0.3486, allocations: 0.7139 MB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3486, allocations: 59.41 kB / 1.364 GB, free: 12.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3488, allocations: 194.7 kB / 1.364 GB, free: 12.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3488, allocations: 29.7 kB / 1.364 GB, free: 12.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3489, allocations: 164.1 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.349, allocations: 75.36 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.3e-05/0.3491, allocations: 53.7 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3492, allocations: 330.8 kB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3494, allocations: 119.9 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.3496, allocations: 167.5 kB / 1.365 GB, free: 11.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.3501, allocations: 293.8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3501, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007869/0.3509, allocations: 413.9 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3509, allocations: 8.188 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3509, allocations: 0 / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.3513, allocations: 100.8 kB / 1.366 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3516, allocations: 51.91 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.3536, allocations: 1.78 MB / 1.368 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.3538, allocations: 23.86 kB / 1.368 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3538, allocations: 11.98 kB / 1.368 GB, free: 8.457 MB / 1.061 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.000182/0.354, allocations: 157.7 kB / 1.368 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.3541, allocations: 15.91 kB / 1.368 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005079/0.3546, allocations: 301.6 kB / 1.368 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3546, allocations: 0 / 1.368 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.3546, allocations: 0 / 1.368 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3546, allocations: 7.922 kB / 1.368 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.3556, allocations: 0.6786 MB / 1.369 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3556, allocations: 0 / 1.369 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.3559, allocations: 63.95 kB / 1.369 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3559, allocations: 3.938 kB / 1.369 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.3559, allocations: 8 kB / 1.369 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3559, allocations: 0 / 1.369 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3559, allocations: 0 / 1.369 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/0.3565, allocations: 0.5136 MB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3566, allocations: 43.84 kB / 1.37 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3566, allocations: 8.062 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3568, allocations: 15.98 kB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.3569, allocations: 15.97 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3569, allocations: 8 kB / 1.37 GB, free: 6.539 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001346/0.357, allocations: 144 kB / 1.37 GB, free: 6.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.357, allocations: 4 kB / 1.37 GB, free: 6.391 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00035/0.3574, allocations: 64 kB / 1.37 GB, free: 6.328 MB / 1.061 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.0009577/0.3583, allocations: 1.064 MB / 1.371 GB, free: 5.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000714/0.359, allocations: 417.2 kB / 1.371 GB, free: 4.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.359, allocations: 0 / 1.371 GB, free: 4.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.3592, allocations: 115.8 kB / 1.371 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3596, allocations: 33.61 kB / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.3634, allocations: 2.896 MB / 1.374 GB, free: 1.641 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3638, allocations: 0.7753 MB / 1.375 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.364, allocations: 61.89 kB / 1.375 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.3641, allocations: 59.42 kB / 1.375 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3641, allocations: 4 kB / 1.375 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.398, allocations: 5.329 MB / 1.38 GB, free: 11.54 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.4, allocations: 6.047 kB / 1.38 GB, free: 11.54 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: 17.94103029400003]