Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001229/0.001229, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001406/0.001406, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Loads.Examples.Resistor,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor",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.001937/0.001937, allocations: 67.23 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4099, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006378/0.4162, allocations: 3.784 MB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.4197, allocations: 1.702 MB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.4199, allocations: 7.938 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.4216, allocations: 488 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.4222, allocations: 238.8 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.4228, allocations: 203.5 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.4234, allocations: 478.4 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.424, allocations: 293.4 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.4243, allocations: 195.4 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.4247, allocations: 223.2 kB / 1.291 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.4248, allocations: 28 kB / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.4253, allocations: 223.4 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.4255, allocations: 131.6 kB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.4257, allocations: 147.3 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007542/0.4264, allocations: 0.5073 MB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4264, allocations: 0 / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4264, allocations: 0 / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4264, allocations: 0 / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001213/0.4276, allocations: 0.5751 MB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.4277, allocations: 12.03 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.48e-05/0.4277, allocations: 4.844 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.325e-05/0.4278, allocations: 66.73 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.4287, allocations: 140.6 kB / 1.293 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.4292, allocations: 234.5 kB / 1.293 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.4292, allocations: 25.02 kB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.4292, allocations: 32.38 kB / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00096/0.4302, allocations: 0.578 MB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4302, allocations: 3.938 kB / 1.294 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.4303, allocations: 12 kB / 1.294 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/0.4303, allocations: 32.64 kB / 1.294 GB, free: 284 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.4309, allocations: 318.4 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.4332, allocations: 1.583 MB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.4336, allocations: 158.7 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.4338, allocations: 108.8 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.4339, allocations: 0 / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.4339, allocations: 38.56 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4339, allocations: 0 / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006634/0.4346, allocations: 232.1 kB / 1.296 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.4346, allocations: 51.41 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.435, allocations: 265.9 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.435, allocations: 29.64 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.4352, allocations: 212.3 kB / 1.297 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.4352, allocations: 59.52 kB / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.3e-05/0.4353, allocations: 49.89 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.4355, allocations: 338.8 kB / 1.297 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4356, allocations: 56.42 kB / 1.298 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.4358, allocations: 148 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.4362, allocations: 216.6 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4362, allocations: 4 kB / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004746/0.4367, allocations: 258.4 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4367, allocations: 12 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4367, allocations: 4 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.4369, allocations: 24.84 kB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.4371, allocations: 59.84 kB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.4386, allocations: 1.311 MB / 1.299 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.4388, allocations: 27.78 kB / 1.3 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.4389, allocations: 8 kB / 1.3 GB, free: 10.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0002275/0.4391, allocations: 169.6 kB / 1.3 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.4391, allocations: 23.86 kB / 1.3 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.319e-05/0.4392, allocations: 33.77 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4392, allocations: 0 / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4392, allocations: 0 / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4392, allocations: 0 / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009693/0.4402, allocations: 0.6047 MB / 1.3 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4402, allocations: 4 kB / 1.3 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4403, allocations: 31.86 kB / 1.3 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.121e-05/0.4404, allocations: 20.84 kB / 1.3 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4404, allocations: 12.06 kB / 1.3 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.4416, allocations: 1.311 MB / 1.302 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.4416, allocations: 0 / 1.302 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.4421, allocations: 312.6 kB / 1.302 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.4422, allocations: 43.77 kB / 1.302 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.4422, allocations: 4 kB / 1.302 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.4424, allocations: 20.09 kB / 1.302 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.4424, allocations: 15.91 kB / 1.302 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4425, allocations: 12 kB / 1.302 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002268/0.4427, allocations: 185.3 kB / 1.302 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4427, allocations: 3.938 kB / 1.302 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004985/0.4432, allocations: 75.84 kB / 1.302 GB, free: 7.301 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0009691/0.4442, allocations: 0.8547 MB / 1.303 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.4448, allocations: 270.4 kB / 1.303 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4448, allocations: 0 / 1.303 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.445, allocations: 179.7 kB / 1.304 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.4456, allocations: 64.16 kB / 1.304 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.4492, allocations: 2.734 MB / 1.306 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.4495, allocations: 182.1 kB / 1.306 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.4496, allocations: 46.27 kB / 1.307 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.4498, allocations: 87.41 kB / 1.307 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.4498, allocations: 0 / 1.307 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.4813, allocations: 5.818 MB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.72, allocations: 10.62 kB / 1.312 GB, free: 13.02 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.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.527629893971607]