Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.00195/0.00195, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002511/0.002511, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.594/1.594, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.894/2.894, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.514e-05/3.709e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006566/0.006603, allocations: 3.194 MB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.009542, allocations: 1.368 MB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.009715, allocations: 4 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.01095, allocations: 340.2 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.0114, allocations: 156.2 kB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.01192, allocations: 161.3 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000499/0.01242, allocations: 342.7 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005294/0.01295, allocations: 204 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.01335, allocations: 196.6 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.0137, allocations: 135.6 kB / 0.8167 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.01375, allocations: 20.94 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.0142, allocations: 159.5 kB / 0.8169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.01432, allocations: 89.5 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.01447, allocations: 87.83 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.01518, allocations: 378.7 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.01519, allocations: 0 / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01519, allocations: 0 / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.01519, allocations: 1.531 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001134/0.01633, allocations: 477.5 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.01637, allocations: 9.531 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.01718, allocations: 137.1 kB / 0.818 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.01757, allocations: 200.6 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.0176, allocations: 16.86 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.01765, allocations: 28.36 kB / 0.8182 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.01829, allocations: 386.8 kB / 0.8186 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01831, allocations: 4.797 kB / 0.8186 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.01834, allocations: 12.38 kB / 0.8186 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.01839, allocations: 17.12 kB / 0.8186 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.01884, allocations: 210.3 kB / 0.8188 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.02056, allocations: 1.026 MB / 0.8198 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.02102, allocations: 119.6 kB / 0.82 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.02113, allocations: 45.64 kB / 0.82 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.02115, allocations: 7.938 kB / 0.82 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.02118, allocations: 31.5 kB / 0.82 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.02119, allocations: 0 / 0.82 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0006724/0.02186, allocations: 195.7 kB / 0.8202 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.0219, allocations: 52.25 kB / 0.8203 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.02217, allocations: 200.3 kB / 0.8205 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.0222, allocations: 27.7 kB / 0.8205 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.02237, allocations: 180 kB / 0.8207 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.02241, allocations: 27.75 kB / 0.8207 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.02249, allocations: 37.7 kB / 0.8207 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.02268, allocations: 326.8 kB / 0.821 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.0228, allocations: 44.69 kB / 0.8211 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.02297, allocations: 114.4 kB / 0.8212 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.02329, allocations: 168.9 kB / 0.8214 GB, free: 7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02329, allocations: 0 / 0.8214 GB, free: 7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004884/0.02378, allocations: 224.6 kB / 0.8216 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.0238, allocations: 4.781 kB / 0.8216 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.02381, allocations: 4 kB / 0.8216 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.0241, allocations: 38.48 kB / 0.8216 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.02424, allocations: 32.58 kB / 0.8216 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.02573, allocations: 1.312 MB / 0.8229 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.02588, allocations: 15.92 kB / 0.8229 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.0259, allocations: 8 kB / 0.8229 GB, free: 5.262 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.02607, allocations: 149.7 kB / 0.8231 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.02612, allocations: 15.91 kB / 0.8231 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.02616, allocations: 25.39 kB / 0.8231 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.02617, allocations: 4 kB / 0.8231 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.02617, allocations: 0 / 0.8231 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.02617, allocations: 0.9375 kB / 0.8231 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007004/0.02687, allocations: 411.9 kB / 0.8235 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02687, allocations: 3.938 kB / 0.8235 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.02695, allocations: 11.98 kB / 0.8235 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.02714, allocations: 39.08 kB / 0.8236 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.02716, allocations: 4 kB / 0.8236 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.02859, allocations: 1.296 MB / 0.8249 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.0286, allocations: 3.938 kB / 0.8249 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.02899, allocations: 240.2 kB / 0.8251 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.02906, allocations: 15.91 kB / 0.8251 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.02909, allocations: 11.92 kB / 0.8251 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.02924, allocations: 4 kB / 0.8251 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.0293, allocations: 8.703 kB / 0.8251 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.0293, allocations: 1.656 kB / 0.8251 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001666/0.02947, allocations: 152 kB / 0.8253 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02947, allocations: 0 / 0.8253 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003942/0.02986, allocations: 59.83 kB / 0.8253 GB, free: 2.668 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.03002, allocations: 92.34 kB / 0.8254 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005662/0.03059, allocations: 234.1 kB / 0.8256 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.03059, allocations: 0 / 0.8256 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.03087, allocations: 162.5 kB / 0.8258 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.03133, allocations: 38.64 kB / 0.8258 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.03225, allocations: 389.3 kB / 0.8262 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.03245, allocations: 140.2 kB / 0.8263 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.03257, allocations: 34.08 kB / 0.8264 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.03262, allocations: 12.5 kB / 0.8264 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.03262, allocations: 4 kB / 0.8264 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of Templates: time 0.006919/0.03954, allocations: 1.883 MB / 0.8282 GB, free: 15.68 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.248151369974948]