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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 193.3 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 71.89 kB / 1.109 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7292/0.7315, allocations: 168.7 MB / 1.274 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005109/0.7366, allocations: 3.2 MB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0032/0.7398, allocations: 1.776 MB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.7399, allocations: 8 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.7411, allocations: 350 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.7416, allocations: 215.1 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.7421, allocations: 179.6 kB / 1.28 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.7426, allocations: 319 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.7429, allocations: 163.4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.7431, allocations: 131.6 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.7435, allocations: 171.4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.7435, allocations: 20 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.7439, allocations: 251.5 kB / 1.281 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.7441, allocations: 107.7 kB / 1.281 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.7442, allocations: 127.4 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.7448, allocations: 426.5 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7448, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7448, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.7448, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 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.00101/0.7458, allocations: 0.557 MB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.7458, allocations: 8.031 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.7466, allocations: 96.69 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.747, allocations: 256 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.747, allocations: 16.81 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.7471, allocations: 28.48 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.7477, allocations: 377.2 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.7478, allocations: 4 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.7478, allocations: 11.98 kB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.7479, allocations: 28.41 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.7484, allocations: 309.5 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.7504, allocations: 1.522 MB / 1.284 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.7508, allocations: 214.3 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.751, allocations: 104.8 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.7511, allocations: 93.05 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.7512, allocations: 34.88 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.7512, allocations: 3.938 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001332/0.7525, allocations: 0.7912 MB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.7525, allocations: 55.41 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.7528, allocations: 199.1 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.7528, allocations: 29.7 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.7529, allocations: 172.1 kB / 1.286 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.753, allocations: 71.42 kB / 1.286 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.7531, allocations: 49.7 kB / 1.286 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7532, allocations: 334.8 kB / 1.286 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.7534, allocations: 111.9 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.7536, allocations: 173.9 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.7541, allocations: 292 kB / 1.287 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7541, allocations: 4 kB / 1.287 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008017/0.7549, allocations: 419.2 kB / 1.287 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7549, allocations: 4 kB / 1.287 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7549, allocations: 0 / 1.287 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.7553, allocations: 108.9 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.7556, allocations: 51.91 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.7577, allocations: 1.875 MB / 1.289 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.7579, allocations: 19.98 kB / 1.289 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.758, allocations: 15.98 kB / 1.289 GB, free: 4.25 MB / 0.9825 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.000175/0.7581, allocations: 149.8 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.7582, allocations: 15.91 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.7587, allocations: 299.3 kB / 1.29 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7587, allocations: 8 kB / 1.29 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.7587, allocations: 192 / 1.29 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.7587, allocations: 7.922 kB / 1.29 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009959/0.7597, allocations: 0.7089 MB / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.7597, allocations: 0 / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.76, allocations: 51.95 kB / 1.291 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.76, allocations: 7.938 kB / 1.291 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.76, allocations: 7.938 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.7601, allocations: 12 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7601, allocations: 0 / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.7607, allocations: 0.5068 MB / 1.291 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.7609, allocations: 117 kB / 1.291 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.7609, allocations: 4 kB / 1.291 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.7611, allocations: 19.97 kB / 1.291 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.7611, allocations: 12.05 kB / 1.291 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.7611, allocations: 12 kB / 1.291 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001468/0.7613, allocations: 144 kB / 1.291 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7613, allocations: 0 / 1.291 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003941/0.7617, allocations: 75.88 kB / 1.292 GB, free: 1.992 MB / 0.9825 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.0001605/0.7618, allocations: 100.8 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007419/0.7626, allocations: 414 kB / 1.292 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7626, allocations: 0 / 1.292 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.7628, allocations: 115.9 kB / 1.292 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.7631, allocations: 30.39 kB / 1.292 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.7644, allocations: 0.6422 MB / 1.293 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.7648, allocations: 0.7714 MB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.765, allocations: 61.91 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.765, allocations: 19.44 kB / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.765, allocations: 0 / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.006833/0.7719, allocations: 2.942 MB / 1.296 GB, free: 12.84 MB / 0.9981 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 gbode -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_2/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: 8.533335666637868]