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.001251/0.001251, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00133/0.00133, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.01/3.01, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",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.002144/0.002144, allocations: 71.89 kB / 1.165 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9421/0.9442, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005091/0.9493, allocations: 3.28 MB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.9518, allocations: 1.475 MB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.952, allocations: 9.5 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.953, allocations: 335 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.9533, allocations: 147.1 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.9537, allocations: 164.8 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.9541, allocations: 339.5 kB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.9546, allocations: 203.7 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.9549, allocations: 151.1 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.9552, allocations: 161.1 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.9552, allocations: 19.5 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.9557, allocations: 173.6 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.9558, allocations: 92.59 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.956, allocations: 121.6 kB / 1.347 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.9566, allocations: 359.8 kB / 1.347 GB, free: 11.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9566, allocations: 4.656 kB / 1.347 GB, free: 11.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9566, allocations: 0 / 1.347 GB, free: 11.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9566, allocations: 0 / 1.347 GB, free: 11.96 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.0008954/0.9575, allocations: 0.5569 MB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.9575, allocations: 10.66 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.991e-05/0.9576, allocations: 4.281 kB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/0.9576, allocations: 60.72 kB / 1.348 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/0.9583, allocations: 93.42 kB / 1.348 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.9586, allocations: 261 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.9586, allocations: 11.97 kB / 1.348 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.9587, allocations: 21.06 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.9592, allocations: 316.6 kB / 1.348 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.9592, allocations: 3.938 kB / 1.348 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.9592, allocations: 7.469 kB / 1.348 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.9593, allocations: 19.97 kB / 1.348 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.9597, allocations: 212.1 kB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.9611, allocations: 1.492 MB / 1.35 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.9615, allocations: 207.3 kB / 1.35 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.9616, allocations: 41.31 kB / 1.35 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.9617, allocations: 1.531 kB / 1.35 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.9617, allocations: 36.33 kB / 1.35 GB, free: 9.328 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.9617, allocations: 0 / 1.35 GB, free: 9.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005693/0.9623, allocations: 254.5 kB / 1.35 GB, free: 9.156 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.9623, allocations: 61.53 kB / 1.35 GB, free: 9.086 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.9625, allocations: 208.5 kB / 1.351 GB, free: 8.949 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.9625, allocations: 27.3 kB / 1.351 GB, free: 8.918 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.9626, allocations: 180.8 kB / 1.351 GB, free: 8.758 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.9626, allocations: 30 kB / 1.351 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.9627, allocations: 36.98 kB / 1.351 GB, free: 8.707 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.9627, allocations: 331.8 kB / 1.351 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.9628, allocations: 47.16 kB / 1.351 GB, free: 8.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.963, allocations: 104.4 kB / 1.351 GB, free: 8.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.9632, allocations: 172.3 kB / 1.352 GB, free: 8.141 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9632, allocations: 7.938 kB / 1.352 GB, free: 8.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003606/0.9636, allocations: 213.8 kB / 1.352 GB, free: 8.027 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.9636, allocations: 7.031 kB / 1.352 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9636, allocations: 2.125 kB / 1.352 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.9638, allocations: 35.12 kB / 1.352 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.9639, allocations: 29.05 kB / 1.352 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008483/0.9647, allocations: 1.429 MB / 1.353 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.9649, allocations: 28.36 kB / 1.353 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.9649, allocations: 10.94 kB / 1.353 GB, free: 6.559 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.0001099/0.965, allocations: 149.6 kB / 1.353 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.965, allocations: 15.53 kB / 1.353 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.9651, allocations: 24.91 kB / 1.353 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9651, allocations: 1.312 kB / 1.353 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.9651, allocations: 0 / 1.353 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9651, allocations: 2.047 kB / 1.353 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.9656, allocations: 486.9 kB / 1.354 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9656, allocations: 0 / 1.354 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.9657, allocations: 10.94 kB / 1.354 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.001e-05/0.9658, allocations: 28.7 kB / 1.354 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.9658, allocations: 4.641 kB / 1.354 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007483/0.9665, allocations: 1.427 MB / 1.355 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9665, allocations: 0.7188 kB / 1.355 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.9668, allocations: 237 kB / 1.356 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.9669, allocations: 104 kB / 1.356 GB, free: 4.297 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.9669, allocations: 5.547 kB / 1.356 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.967, allocations: 6.016 kB / 1.356 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.9671, allocations: 9.703 kB / 1.356 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.9671, allocations: 10.78 kB / 1.356 GB, free: 4.281 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001255/0.9672, allocations: 146.3 kB / 1.356 GB, free: 4.188 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9672, allocations: 0 / 1.356 GB, free: 4.188 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003563/0.9676, allocations: 59.31 kB / 1.356 GB, free: 4.172 MB / 1.061 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.0004693/0.968, allocations: 0.765 MB / 1.357 GB, free: 3.465 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.9685, allocations: 235 kB / 1.357 GB, free: 3.309 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9685, allocations: 0 / 1.357 GB, free: 3.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.9687, allocations: 159 kB / 1.357 GB, free: 3.184 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.969, allocations: 44.03 kB / 1.357 GB, free: 3.164 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.9713, allocations: 2.157 MB / 1.359 GB, free: 1.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.9715, allocations: 0.7542 MB / 1.36 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.9716, allocations: 27.58 kB / 1.36 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.9717, allocations: 61.78 kB / 1.36 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/0.9717, allocations: 0 / 1.36 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.9958, allocations: 4.113 MB / 1.364 GB, free: 140 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.35, allocations: 15.67 kB / 1.364 GB, free: 128 kB / 1.061 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/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: 17.93202896101866]