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.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.001674/0.001674, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002528/0.002528, allocations: 213.5 kB / 22.24 MB, free: 5.258 MB / 14.72 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.292/3.292, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 70.39 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3595, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005069/0.3646, allocations: 3.205 MB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.367, allocations: 1.391 MB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3671, allocations: 4 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3682, allocations: 338.6 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.3686, allocations: 151.2 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.369, allocations: 163.5 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.3694, allocations: 334.8 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.3698, allocations: 196 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.37, allocations: 151.5 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.3703, allocations: 147.4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.3703, allocations: 20 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.3706, allocations: 159.6 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.3707, allocations: 83.73 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3709, allocations: 99.59 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.3713, allocations: 378.5 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3713, allocations: 0 / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.959e-06/0.3713, allocations: 4 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3714, allocations: 0 / 1.37 GB, free: 7.289 MB / 1.061 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.0008628/0.3722, allocations: 469.4 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3723, allocations: 20.02 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/0.3723, allocations: 58.72 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/0.373, allocations: 84.72 kB / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.3733, allocations: 206.7 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.3734, allocations: 20.8 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.3734, allocations: 20.38 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.374, allocations: 389.5 kB / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.374, allocations: 0 / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.374, allocations: 12 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.374, allocations: 16.42 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.3744, allocations: 213.6 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.376, allocations: 1.065 MB / 1.372 GB, free: 4.562 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.3764, allocations: 122.5 kB / 1.373 GB, free: 4.434 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.3765, allocations: 44.83 kB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.3765, allocations: 3.938 kB / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3765, allocations: 34.56 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3765, allocations: 4 kB / 1.373 GB, free: 4.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005414/0.3771, allocations: 186.2 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3771, allocations: 55.41 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3774, allocations: 214.8 kB / 1.373 GB, free: 3.859 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3774, allocations: 29.7 kB / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3775, allocations: 176 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.3775, allocations: 31.73 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.3776, allocations: 45.66 kB / 1.373 GB, free: 3.566 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3778, allocations: 322.8 kB / 1.374 GB, free: 3.242 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3779, allocations: 47.97 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.378, allocations: 104.6 kB / 1.374 GB, free: 3.062 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.3783, allocations: 172.4 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3783, allocations: 0 / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003883/0.3787, allocations: 206.1 kB / 1.374 GB, free: 2.652 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3787, allocations: 8.281 kB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3787, allocations: 8.062 kB / 1.374 GB, free: 2.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.3789, allocations: 36.77 kB / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.379, allocations: 31.92 kB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.3802, allocations: 1.318 MB / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3803, allocations: 20.05 kB / 1.376 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3803, allocations: 8 kB / 1.376 GB, free: 1.109 MB / 1.061 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.0001433/0.3805, allocations: 149.8 kB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.3805, allocations: 15.91 kB / 1.376 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.3806, allocations: 21.39 kB / 1.376 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3806, allocations: 0 / 1.376 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3806, allocations: 0 / 1.376 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3806, allocations: 4.078 kB / 1.376 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.3812, allocations: 458.1 kB / 1.376 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3812, allocations: 4 kB / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.3813, allocations: 11.98 kB / 1.376 GB, free: 404 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-05/0.3814, allocations: 28.78 kB / 1.376 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3814, allocations: 4 kB / 1.376 GB, free: 368 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3825, allocations: 1.314 MB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3825, allocations: 4 kB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.3828, allocations: 244.1 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.3829, allocations: 23.89 kB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3829, allocations: 0 / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.383, allocations: 8 kB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.3831, allocations: 7.984 kB / 1.378 GB, free: 14.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3831, allocations: 4 kB / 1.378 GB, free: 14.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001447/0.3832, allocations: 156.1 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3832, allocations: 64 / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003334/0.3836, allocations: 59.89 kB / 1.378 GB, free: 14.41 MB / 1.076 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.0006363/0.3842, allocations: 0.7639 MB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.3846, allocations: 227.6 kB / 1.379 GB, free: 13.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3846, allocations: 0 / 1.379 GB, free: 13.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.3849, allocations: 158.7 kB / 1.379 GB, free: 13.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3852, allocations: 45.94 kB / 1.379 GB, free: 13.17 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.3879, allocations: 2.16 MB / 1.381 GB, free: 10.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.3881, allocations: 148.1 kB / 1.381 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.3882, allocations: 29.45 kB / 1.381 GB, free: 10.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.3883, allocations: 55.42 kB / 1.382 GB, free: 10.63 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.3883, allocations: 8 kB / 1.382 GB, free: 10.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.424, allocations: 4.69 MB / 1.386 GB, free: 6.117 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.36, allocations: 13.5 kB / 1.386 GB, free: 6.105 MB / 1.076 GB " [Timeout remaining time 288] (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/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: 19.156080215238035]