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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001678/0.001678, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.754/2.754, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 69.44 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3462, allocations: 157.4 MB / 1.053 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005078/0.3513, allocations: 3.266 MB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3537, allocations: 1.363 MB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.354, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3552, allocations: 330.8 kB / 1.058 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004661/0.3556, allocations: 139.4 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.3561, allocations: 135.7 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.3566, allocations: 458.7 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.357, allocations: 171.7 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.3573, allocations: 119.5 kB / 1.059 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.3576, allocations: 147.5 kB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.3576, allocations: 16 kB / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.3581, allocations: 211.6 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3582, allocations: 79.73 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.3583, allocations: 111.4 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.3587, allocations: 275.7 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3587, allocations: 0 / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3588, allocations: 7.938 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3588, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 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.0009417/0.3597, allocations: 0.538 MB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3598, allocations: 15.95 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006261/0.3604, allocations: 76.59 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.3607, allocations: 255.8 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.3608, allocations: 12.81 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.3608, allocations: 20.38 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.3613, allocations: 308.6 kB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3613, allocations: 4 kB / 1.061 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.3614, allocations: 4 kB / 1.061 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.3614, allocations: 28.42 kB / 1.061 GB, free: 192 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.3618, allocations: 213.6 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.3635, allocations: 1.497 MB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.3639, allocations: 199.7 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.364, allocations: 44.84 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3641, allocations: 0 / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.3641, allocations: 38.56 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.3641, allocations: 0 / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005889/0.3647, allocations: 271.2 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.3648, allocations: 51.41 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.365, allocations: 207.7 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.365, allocations: 25.7 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3651, allocations: 175.6 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3651, allocations: 27.56 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.3652, allocations: 37.7 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3653, allocations: 330.8 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3655, allocations: 47.97 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3656, allocations: 110 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.3659, allocations: 164.5 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3659, allocations: 8 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003816/0.3663, allocations: 218 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3663, allocations: 8 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3663, allocations: 0 / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.3665, allocations: 29.12 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3666, allocations: 39.86 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.3677, allocations: 1.319 MB / 1.065 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.3679, allocations: 23.81 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3679, allocations: 11.98 kB / 1.066 GB, free: 10.65 MB / 0.8262 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.0001499/0.3681, allocations: 147.7 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.3681, allocations: 19.75 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.3682, allocations: 21.39 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3682, allocations: 4.094 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3682, allocations: 0 / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3682, allocations: 4.094 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.3688, allocations: 487.5 kB / 1.066 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3688, allocations: 3.938 kB / 1.066 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.3689, allocations: 11.98 kB / 1.066 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.011e-05/0.369, allocations: 28.84 kB / 1.066 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.369, allocations: 0 / 1.066 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009375/0.37, allocations: 1.331 MB / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.37, allocations: 3.984 kB / 1.068 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.3703, allocations: 232.2 kB / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.3704, allocations: 108.8 kB / 1.068 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3704, allocations: 7.938 kB / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3705, allocations: 7.984 kB / 1.068 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3706, allocations: 8.094 kB / 1.068 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3706, allocations: 4 kB / 1.068 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001224/0.3707, allocations: 149.5 kB / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3707, allocations: 0 / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003526/0.3711, allocations: 55.84 kB / 1.068 GB, free: 7.809 MB / 0.8262 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.0001148/0.3712, allocations: 102.1 kB / 1.068 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.3717, allocations: 230.5 kB / 1.068 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3717, allocations: 0 / 1.068 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.3719, allocations: 158.7 kB / 1.069 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3723, allocations: 32.53 kB / 1.069 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.3731, allocations: 0.5118 MB / 1.069 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3734, allocations: 0.7557 MB / 1.07 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.3735, allocations: 15.44 kB / 1.07 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3735, allocations: 0 / 1.07 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.005439/0.3789, allocations: 3.21 MB / 1.073 GB, free: 2.715 MB / 0.8262 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/jenkins1/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