Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001814/0.001814, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002268/0.002268, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.731/2.731, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [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.003279/0.003279, allocations: 63.91 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5485/0.5517, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.006005/0.5578, allocations: 3.103 MB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.5611, allocations: 1.687 MB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.5613, allocations: 11.94 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.5625, allocations: 330.3 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.5631, allocations: 211.1 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.5636, allocations: 183.5 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000477/0.5641, allocations: 319 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.5645, allocations: 165.1 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.5648, allocations: 155.4 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.5652, allocations: 155.4 kB / 1.124 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.5652, allocations: 20 kB / 1.124 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.5656, allocations: 219.5 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.5658, allocations: 107.7 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.566, allocations: 107.6 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.5666, allocations: 430.4 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.5666, allocations: 7.922 kB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5666, allocations: 0 / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.5666, allocations: 0 / 1.124 GB, free: 11.34 MB / 1.076 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.001141/0.5678, allocations: 481.4 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5678, allocations: 12.03 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.5686, allocations: 92.69 kB / 1.125 GB, free: 10.74 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.5689, allocations: 210.1 kB / 1.125 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.569, allocations: 12.88 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.5691, allocations: 24.56 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.5697, allocations: 432.4 kB / 1.126 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5698, allocations: 0 / 1.126 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.5698, allocations: 7.984 kB / 1.126 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.5699, allocations: 28.48 kB / 1.126 GB, free: 9.984 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.5704, allocations: 305.8 kB / 1.126 GB, free: 9.684 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.5722, allocations: 1.043 MB / 1.127 GB, free: 8.598 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.5727, allocations: 218.4 kB / 1.127 GB, free: 8.375 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.5729, allocations: 104.7 kB / 1.127 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.573, allocations: 12.3 kB / 1.127 GB, free: 8.258 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.573, allocations: 34.56 kB / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 4.037e-06/0.573, allocations: 4 kB / 1.127 GB, free: 8.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001387/0.5744, allocations: 0.7203 MB / 1.128 GB, free: 7.461 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.5745, allocations: 55.41 kB / 1.128 GB, free: 7.395 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.5747, allocations: 190.9 kB / 1.128 GB, free: 7.199 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.5747, allocations: 33.7 kB / 1.128 GB, free: 7.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.5749, allocations: 164.5 kB / 1.128 GB, free: 6.996 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.5749, allocations: 71.42 kB / 1.129 GB, free: 6.926 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.575, allocations: 49.7 kB / 1.129 GB, free: 6.871 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5752, allocations: 330.8 kB / 1.129 GB, free: 6.539 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.5754, allocations: 111.9 kB / 1.129 GB, free: 6.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.5756, allocations: 161.9 kB / 1.129 GB, free: 6.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.5761, allocations: 310.4 kB / 1.129 GB, free: 5.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5761, allocations: 4 kB / 1.129 GB, free: 5.926 MB / 1.076 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008115/0.5769, allocations: 410 kB / 1.13 GB, free: 5.516 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5769, allocations: 11.94 kB / 1.13 GB, free: 5.504 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5769, allocations: 0 / 1.13 GB, free: 5.504 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.5774, allocations: 100.8 kB / 1.13 GB, free: 5.402 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.5776, allocations: 56.03 kB / 1.13 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.5799, allocations: 1.741 MB / 1.132 GB, free: 3.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.5801, allocations: 19.97 kB / 1.132 GB, free: 3.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.5801, allocations: 8 kB / 1.132 GB, free: 3.473 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.0001989/0.5803, allocations: 178.1 kB / 1.132 GB, free: 3.289 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.5803, allocations: 15.91 kB / 1.132 GB, free: 3.273 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/0.5808, allocations: 295.3 kB / 1.132 GB, free: 2.977 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5808, allocations: 3.938 kB / 1.132 GB, free: 2.973 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.5809, allocations: 0 / 1.132 GB, free: 2.973 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5809, allocations: 0 / 1.132 GB, free: 2.973 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.5818, allocations: 0.609 MB / 1.133 GB, free: 2.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5818, allocations: 0 / 1.133 GB, free: 2.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.5821, allocations: 55.95 kB / 1.133 GB, free: 2.266 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5821, allocations: 0 / 1.133 GB, free: 2.266 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.5822, allocations: 8 kB / 1.133 GB, free: 2.258 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.5822, allocations: 3.938 kB / 1.133 GB, free: 2.254 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5822, allocations: 4 kB / 1.133 GB, free: 2.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.5829, allocations: 0.5214 MB / 1.133 GB, free: 1.711 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.583, allocations: 35.92 kB / 1.133 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.583, allocations: 8.172 kB / 1.133 GB, free: 1.668 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.5832, allocations: 19.98 kB / 1.133 GB, free: 1.648 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.5832, allocations: 19.83 kB / 1.133 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.5833, allocations: 4 kB / 1.133 GB, free: 1.625 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002064/0.5835, allocations: 139.2 kB / 1.134 GB, free: 1.488 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5835, allocations: 3.938 kB / 1.134 GB, free: 1.484 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003863/0.5838, allocations: 64 kB / 1.134 GB, free: 1.422 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.0001728/0.584, allocations: 103.2 kB / 1.134 GB, free: 1.312 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007935/0.5848, allocations: 402.6 kB / 1.134 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5848, allocations: 0 / 1.134 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.585, allocations: 115.8 kB / 1.134 GB, free: 0.793 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.5854, allocations: 38.2 kB / 1.134 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.5868, allocations: 0.6276 MB / 1.135 GB, free: 100 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8536/1.44, allocations: 159.2 kB / 1.135 GB, free: 58.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002556/1.441, allocations: 58.06 kB / 1.135 GB, free: 58.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.227e-05/1.441, allocations: 23.34 kB / 1.135 GB, free: 58.18 MB / 1.076 GB Notification: Performance of SimCode: time 9.72e-07/1.441, allocations: 0 / 1.135 GB, free: 58.18 MB / 1.076 GB Notification: Performance of Templates: time 0.007365/1.448, allocations: 2.753 MB / 1.138 GB, free: 58.04 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.65505436703097]