Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006574/0.006574, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 188.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 72.09 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9862/0.9876, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005072/0.9927, allocations: 3.228 MB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.9952, allocations: 1.356 MB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.9955, allocations: 7.938 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.9967, allocations: 334.7 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.9972, allocations: 159.2 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.9976, allocations: 143.6 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.9982, allocations: 330.9 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.9987, allocations: 251.6 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.999, allocations: 139.5 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.9994, allocations: 151.4 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.9994, allocations: 20 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.9999, allocations: 159.7 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/1, allocations: 87.78 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/1, allocations: 127.3 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/1.001, allocations: 360.6 kB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.001, allocations: 0 / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.949e-06/1.001, allocations: 0 / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.423e-05/1.001, allocations: 3.938 kB / 1.214 GB, free: 6.809 MB / 0.9356 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.001111/1.002, allocations: 0.538 MB / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.002, allocations: 8.031 kB / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006574/1.003, allocations: 88.42 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/1.003, allocations: 251.9 kB / 1.215 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/1.003, allocations: 16.81 kB / 1.215 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/1.003, allocations: 20.36 kB / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005293/1.004, allocations: 316.4 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.004, allocations: 0 / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/1.004, allocations: 12 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/1.004, allocations: 16.42 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/1.004, allocations: 213.6 kB / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/1.006, allocations: 1.486 MB / 1.217 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/1.006, allocations: 211.6 kB / 1.217 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.343e-05/1.007, allocations: 44.83 kB / 1.217 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/1.007, allocations: 4 kB / 1.217 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.007, allocations: 34.56 kB / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/1.007, allocations: 0 / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000588/1.007, allocations: 259.3 kB / 1.218 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.007, allocations: 51.41 kB / 1.218 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/1.007, allocations: 215.6 kB / 1.218 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/1.008, allocations: 29.7 kB / 1.218 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.008, allocations: 175.7 kB / 1.218 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/1.008, allocations: 35.48 kB / 1.218 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/1.008, allocations: 37.7 kB / 1.218 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.008, allocations: 322.8 kB / 1.219 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/1.008, allocations: 43.97 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/1.008, allocations: 117.9 kB / 1.219 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/1.008, allocations: 168.4 kB / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.008, allocations: 0 / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003744/1.009, allocations: 210 kB / 1.219 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.009, allocations: 8 kB / 1.219 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.009, allocations: 4 kB / 1.219 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/1.009, allocations: 28.78 kB / 1.219 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/1.009, allocations: 36.19 kB / 1.219 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/1.01, allocations: 1.426 MB / 1.221 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/1.011, allocations: 27.83 kB / 1.221 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/1.011, allocations: 8 kB / 1.221 GB, free: 15.8 MB / 0.9512 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.0001518/1.011, allocations: 149.7 kB / 1.221 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/1.011, allocations: 19.75 kB / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/1.011, allocations: 21.39 kB / 1.221 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/1.011, allocations: 0 / 1.221 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.011, allocations: 4.062 kB / 1.221 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.011, allocations: 0 / 1.221 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/1.012, allocations: 487.4 kB / 1.221 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.012, allocations: 0 / 1.221 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/1.012, allocations: 15.92 kB / 1.221 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.818e-05/1.012, allocations: 24.84 kB / 1.221 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/1.012, allocations: 4 kB / 1.221 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/1.013, allocations: 1.429 MB / 1.223 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.013, allocations: 0 / 1.223 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/1.013, allocations: 232.1 kB / 1.223 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/1.013, allocations: 100.9 kB / 1.223 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/1.013, allocations: 0 / 1.223 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/1.013, allocations: 8.062 kB / 1.223 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/1.014, allocations: 12.08 kB / 1.223 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/1.014, allocations: 11.88 kB / 1.223 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001318/1.014, allocations: 149.5 kB / 1.223 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.994e-06/1.014, allocations: 0 / 1.223 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003807/1.014, allocations: 63.72 kB / 1.223 GB, free: 12.86 MB / 0.9512 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.0001383/1.014, allocations: 96.75 kB / 1.223 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004991/1.015, allocations: 234.5 kB / 1.224 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.015, allocations: 0 / 1.224 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/1.015, allocations: 166.6 kB / 1.224 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/1.015, allocations: 40.53 kB / 1.224 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/1.016, allocations: 375.7 kB / 1.224 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/1.017, allocations: 0.7592 MB / 1.225 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001188/1.017, allocations: 33.52 kB / 1.225 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/1.017, allocations: 15.44 kB / 1.225 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/1.017, allocations: 0 / 1.225 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.005698/1.022, allocations: 1.957 MB / 1.227 GB, free: 9.137 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches