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.000815/0.000815, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008671/0.0008671, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8599/0.8599, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.749/1.749, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.99e-05, allocations: 5.234 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003559/0.003579, allocations: 3.178 MB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005209, allocations: 1.371 MB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.005353, allocations: 11.88 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.006019, allocations: 334.6 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.006334, allocations: 163 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.006667, allocations: 163.4 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.007009, allocations: 342.6 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.00735, allocations: 196.1 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.00762, allocations: 211.4 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.007845, allocations: 135.6 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.007874, allocations: 20 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.008095, allocations: 159.6 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.00817, allocations: 83.73 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.008244, allocations: 91.77 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.008877, allocations: 378.8 kB / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.008881, allocations: 0 / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.433e-06/0.008882, allocations: 0 / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.008888, allocations: 4 kB / 1.006 GB, free: 6.715 MB / 0.9636 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.0007068/0.009595, allocations: 473.4 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.00964, allocations: 12.75 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.00969, allocations: 58.72 kB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.01009, allocations: 88.7 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.01036, allocations: 202.1 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.01038, allocations: 12.88 kB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.0104, allocations: 24.36 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.0108, allocations: 386.8 kB / 1.007 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.01081, allocations: 192 / 1.007 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.01083, allocations: 16.12 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.01086, allocations: 16.48 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.0111, allocations: 221.8 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.01206, allocations: 1.058 MB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.01235, allocations: 126.5 kB / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.01241, allocations: 48.83 kB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.01242, allocations: 0 / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.01244, allocations: 34.56 kB / 1.009 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.01244, allocations: 3.938 kB / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0003778/0.01282, allocations: 186.3 kB / 1.009 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.01285, allocations: 51.41 kB / 1.009 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.013, allocations: 211 kB / 1.009 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.01302, allocations: 29.7 kB / 1.009 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.0131, allocations: 183.9 kB / 1.01 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.01312, allocations: 31.73 kB / 1.01 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.01317, allocations: 33.72 kB / 1.01 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.01326, allocations: 334.8 kB / 1.01 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.01332, allocations: 47.91 kB / 1.01 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.0134, allocations: 110.7 kB / 1.01 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.01355, allocations: 168.4 kB / 1.01 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01355, allocations: 0 / 1.01 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002313/0.01378, allocations: 210.1 kB / 1.01 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01379, allocations: 8 kB / 1.01 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.0138, allocations: 0 / 1.01 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.01393, allocations: 28.84 kB / 1.011 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.01401, allocations: 31.92 kB / 1.011 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007324/0.01474, allocations: 1.331 MB / 1.012 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.01482, allocations: 27.83 kB / 1.012 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.01483, allocations: 4 kB / 1.012 GB, free: 0.5352 MB / 0.9636 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 9.759e-05/0.01493, allocations: 153.7 kB / 1.012 GB, free: 384 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.01495, allocations: 19.84 kB / 1.012 GB, free: 364 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.01497, allocations: 21.45 kB / 1.012 GB, free: 336 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.01497, allocations: 4.156 kB / 1.012 GB, free: 332 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01498, allocations: 0 / 1.012 GB, free: 332 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01498, allocations: 0 / 1.012 GB, free: 332 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.01538, allocations: 446.3 kB / 1.012 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01538, allocations: 0 / 1.012 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.01542, allocations: 11.98 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.01547, allocations: 24.84 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.01548, allocations: 0 / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008482/0.01633, allocations: 1.322 MB / 1.014 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01633, allocations: 0 / 1.014 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.01651, allocations: 236.3 kB / 1.014 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.01655, allocations: 31.81 kB / 1.014 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.01656, allocations: 3.938 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.01662, allocations: 8.156 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.01665, allocations: 11.98 kB / 1.014 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.01666, allocations: 4 kB / 1.014 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.01674, allocations: 148.4 kB / 1.014 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01674, allocations: 0 / 1.014 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002268/0.01697, allocations: 59.84 kB / 1.014 GB, free: 13.85 MB / 0.9792 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.0003675/0.01733, allocations: 0.7795 MB / 1.015 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.01765, allocations: 222.5 kB / 1.015 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01765, allocations: 0 / 1.015 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.01775, allocations: 150.7 kB / 1.015 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.01802, allocations: 46.95 kB / 1.015 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.01966, allocations: 2.145 MB / 1.018 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.01976, allocations: 148.1 kB / 1.018 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.056e-05/0.01984, allocations: 29.47 kB / 1.018 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.01991, allocations: 64.47 kB / 1.018 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of SimCode: time 7.41e-07/0.01991, allocations: 0 / 1.018 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.03806, allocations: 4.831 MB / 1.023 GB, free: 5.406 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.083, allocations: 13.16 kB / 1.023 GB, free: 5.398 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 11.081910969689488]