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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.00186/0.00186, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.025/3.025, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 72.86 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3392, allocations: 173.9 MB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005367/0.3446, allocations: 3.257 MB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.3472, allocations: 1.402 MB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.3473, allocations: 7.938 kB / 1.309 GB, free: 12.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.3484, allocations: 346.6 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.3488, allocations: 147.2 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3492, allocations: 151.6 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004395/0.3497, allocations: 338.8 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.3501, allocations: 196 kB / 1.31 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.3503, allocations: 139.5 kB / 1.31 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.3507, allocations: 159.4 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.3507, allocations: 20 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.351, allocations: 171.6 kB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3511, allocations: 87.73 kB / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.3513, allocations: 123.4 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.3518, allocations: 358.7 kB / 1.311 GB, free: 10.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3518, allocations: 0 / 1.311 GB, free: 10.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3518, allocations: 4 kB / 1.311 GB, free: 10.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3518, allocations: 3.938 kB / 1.311 GB, free: 10.69 MB / 1.014 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.001016/0.3528, allocations: 0.5415 MB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3529, allocations: 8.625 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.3529, allocations: 62.7 kB / 1.311 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/0.3536, allocations: 80.72 kB / 1.311 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.354, allocations: 248 kB / 1.312 GB, free: 9.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.354, allocations: 16.81 kB / 1.312 GB, free: 9.645 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.3541, allocations: 20.38 kB / 1.312 GB, free: 9.625 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.3546, allocations: 316.4 kB / 1.312 GB, free: 9.293 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3546, allocations: 0 / 1.312 GB, free: 9.293 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.3547, allocations: 12 kB / 1.312 GB, free: 9.281 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.3547, allocations: 20.36 kB / 1.312 GB, free: 9.262 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.3551, allocations: 217.5 kB / 1.312 GB, free: 9.047 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.357, allocations: 1.494 MB / 1.314 GB, free: 7.387 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.3574, allocations: 195.7 kB / 1.314 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.3575, allocations: 40.83 kB / 1.314 GB, free: 7.125 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3575, allocations: 4 kB / 1.314 GB, free: 7.121 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3576, allocations: 30.56 kB / 1.314 GB, free: 7.082 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.3576, allocations: 4 kB / 1.314 GB, free: 7.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0005973/0.3582, allocations: 259.4 kB / 1.314 GB, free: 6.797 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.3582, allocations: 59.41 kB / 1.314 GB, free: 6.727 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.3585, allocations: 199.8 kB / 1.314 GB, free: 6.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3585, allocations: 29.7 kB / 1.314 GB, free: 6.484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3587, allocations: 184 kB / 1.315 GB, free: 6.301 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3587, allocations: 31.73 kB / 1.315 GB, free: 6.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.3588, allocations: 37.7 kB / 1.315 GB, free: 6.227 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3589, allocations: 322.8 kB / 1.315 GB, free: 5.902 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.359, allocations: 47.91 kB / 1.315 GB, free: 5.855 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3592, allocations: 118 kB / 1.315 GB, free: 5.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.3594, allocations: 168.4 kB / 1.315 GB, free: 5.516 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3594, allocations: 0 / 1.315 GB, free: 5.516 MB / 1.014 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003878/0.3598, allocations: 214.3 kB / 1.315 GB, free: 5.297 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3599, allocations: 5.719 kB / 1.315 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.3599, allocations: 4 kB / 1.315 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.36, allocations: 32.77 kB / 1.315 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3602, allocations: 31.92 kB / 1.316 GB, free: 5.223 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.3615, allocations: 1.429 MB / 1.317 GB, free: 3.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3616, allocations: 28.03 kB / 1.317 GB, free: 3.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3617, allocations: 8 kB / 1.317 GB, free: 3.613 MB / 1.014 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.0001601/0.3618, allocations: 155 kB / 1.317 GB, free: 3.453 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.3619, allocations: 15.91 kB / 1.317 GB, free: 3.438 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.3619, allocations: 21.39 kB / 1.317 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3619, allocations: 0 / 1.317 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3619, allocations: 4 kB / 1.317 GB, free: 3.414 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3619, allocations: 3.938 kB / 1.317 GB, free: 3.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.3626, allocations: 487.2 kB / 1.318 GB, free: 2.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3626, allocations: 0 / 1.318 GB, free: 2.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.3627, allocations: 11.98 kB / 1.318 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.254e-05/0.3627, allocations: 24.84 kB / 1.318 GB, free: 2.836 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3628, allocations: 0 / 1.318 GB, free: 2.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.364, allocations: 1.434 MB / 1.319 GB, free: 1.262 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.364, allocations: 4.156 kB / 1.319 GB, free: 1.258 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.3643, allocations: 236.3 kB / 1.319 GB, free: 1.008 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3644, allocations: 104.9 kB / 1.319 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3644, allocations: 4 kB / 1.319 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.3645, allocations: 4 kB / 1.319 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3646, allocations: 11.98 kB / 1.319 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3646, allocations: 8 kB / 1.319 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001421/0.3647, allocations: 152.1 kB / 1.32 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3647, allocations: 0 / 1.32 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000329/0.365, allocations: 59.84 kB / 1.32 GB, free: 0.6523 MB / 1.014 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.0006611/0.3657, allocations: 0.7723 MB / 1.32 GB, free: 15.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.3662, allocations: 226.5 kB / 1.321 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3662, allocations: 0 / 1.321 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.3664, allocations: 151.2 kB / 1.321 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3667, allocations: 44.12 kB / 1.321 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.3695, allocations: 2.148 MB / 1.323 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3699, allocations: 0.7554 MB / 1.324 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.37, allocations: 29.53 kB / 1.324 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3701, allocations: 55.41 kB / 1.324 GB, free: 12.25 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.3701, allocations: 4 kB / 1.324 GB, free: 12.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.3998, allocations: 4.045 MB / 1.328 GB, free: 8.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.43, allocations: 11.66 kB / 1.328 GB, free: 8.344 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.973572297021747]