Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.0009022/0.0009022, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.000842/0.000842, allocations: 173.9 kB / 23.21 MB, free: 1.348 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 0.8588/0.8588, allocations: 177.2 MB / 203.5 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] 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 1.759/1.759, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.007e-05, allocations: 4.953 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002592/0.002612, allocations: 2.422 MB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.00435, allocations: 1.531 MB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.004427, allocations: 7.938 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.004856, allocations: 171.3 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.00507, allocations: 159.1 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.00529, allocations: 183.4 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.005477, allocations: 231.2 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005641, allocations: 101.2 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.005794, allocations: 139.5 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.005927, allocations: 103.7 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.005945, allocations: 12 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.006117, allocations: 191.5 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.00617, allocations: 71.81 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.006215, allocations: 63.83 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.006492, allocations: 335 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006494, allocations: 0 / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006494, allocations: 0 / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.006498, allocations: 4 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004217/0.00692, allocations: 409.6 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.00695, allocations: 9.344 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.007337, allocations: 88.69 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.007513, allocations: 169.5 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.007523, allocations: 12.66 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.007548, allocations: 16.38 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.007862, allocations: 321.9 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.007875, allocations: 8.062 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.007892, allocations: 11.94 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.007916, allocations: 20.22 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.008159, allocations: 220.4 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/0.00914, allocations: 1.303 MB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.009328, allocations: 153.1 kB / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.147e-05/0.00939, allocations: 57.69 kB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.009403, allocations: 7.984 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.009421, allocations: 38.48 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.009422, allocations: 4 kB / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0003592/0.009782, allocations: 245.3 kB / 1.009 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.00981, allocations: 77.11 kB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.009957, allocations: 210.2 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.009968, allocations: 29.7 kB / 1.01 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.01003, allocations: 164.1 kB / 1.01 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.01005, allocations: 31.7 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.01011, allocations: 53.69 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.01018, allocations: 326.8 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.657e-05/0.01028, allocations: 88.98 kB / 1.01 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.0104, allocations: 163 kB / 1.011 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.01069, allocations: 250.9 kB / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01069, allocations: 3.938 kB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002928/0.01098, allocations: 285.3 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.01099, allocations: 4 kB / 1.011 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01099, allocations: 4 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.011, allocations: 4 kB / 1.011 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01114, allocations: 59.89 kB / 1.011 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01115, allocations: 12.06 kB / 1.011 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01126, allocations: 24.25 kB / 1.011 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.01127, allocations: 15.94 kB / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001275/0.0114, allocations: 172.1 kB / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001101/0.01151, allocations: 163 kB / 1.011 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001736/0.01169, allocations: 227 kB / 1.012 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.01169, allocations: 0 / 1.012 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002554/0.01194, allocations: 257.2 kB / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.01195, allocations: 11.98 kB / 1.012 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.01195, allocations: 4 kB / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.01196, allocations: 4 kB / 1.012 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01207, allocations: 60.27 kB / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.01207, allocations: 8 kB / 1.012 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.01217, allocations: 15.98 kB / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.01217, allocations: 12 kB / 1.012 GB, free: 1.113 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/0.01225, allocations: 204 kB / 1.012 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.01228, allocations: 15.84 kB / 1.012 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.01244, allocations: 143 kB / 1.012 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01244, allocations: 4 kB / 1.012 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01244, allocations: 0 / 1.012 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01245, allocations: 0 / 1.012 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.01296, allocations: 0.649 MB / 1.013 GB, free: 24 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01296, allocations: 0 / 1.013 GB, free: 24 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.01302, allocations: 40.08 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.01303, allocations: 4 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.01303, allocations: 8 kB / 1.013 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01304, allocations: 352 / 1.013 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01304, allocations: 11.94 kB / 1.013 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.01322, allocations: 366.4 kB / 1.013 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.01326, allocations: 31.83 kB / 1.013 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.01328, allocations: 11.98 kB / 1.013 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.01338, allocations: 11.98 kB / 1.013 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.0134, allocations: 15.92 kB / 1.014 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.0134, allocations: 11.83 kB / 1.014 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 9.359e-05/0.0135, allocations: 153.6 kB / 1.014 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.0135, allocations: 0 / 1.014 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002974/0.01379, allocations: 75.94 kB / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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 9.348e-05/0.01389, allocations: 99.23 kB / 1.014 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.01419, allocations: 288.3 kB / 1.014 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0142, allocations: 0 / 1.014 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.01425, allocations: 55.84 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.01454, allocations: 33.95 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.01498, allocations: 440.7 kB / 1.015 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.162e-05/0.01506, allocations: 123.9 kB / 1.015 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.01511, allocations: 28.42 kB / 1.015 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of SimCode: time 4.2e-07/0.01511, allocations: 0 / 1.015 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of Templates: time 0.002646/0.01775, allocations: 2.425 MB / 1.017 GB, free: 11.7 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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: 6.475507551804185]