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.00188/0.00188, allocations: 117.4 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.002151/0.002151, allocations: 214.3 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.779/2.779, allocations: 476.7 MB / 0.7678 GB, free: 9.324 MB / 0.6075 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.002003/0.002003, allocations: 68.17 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9285/0.9305, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006836/0.9373, allocations: 3.906 MB / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003449/0.9408, allocations: 1.812 MB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.941, allocations: 10.53 kB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.9425, allocations: 499.5 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006171/0.9431, allocations: 231 kB / 1.285 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.9437, allocations: 209.6 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.9444, allocations: 473.2 kB / 1.286 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.9449, allocations: 298.1 kB / 1.286 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.9452, allocations: 205.1 kB / 1.286 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.9457, allocations: 219.4 kB / 1.287 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.9457, allocations: 32.12 kB / 1.287 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.9463, allocations: 253 kB / 1.287 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.9464, allocations: 131.5 kB / 1.287 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.9466, allocations: 166.8 kB / 1.287 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007647/0.9474, allocations: 0.5081 MB / 1.288 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9474, allocations: 4 kB / 1.288 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9474, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.9474, allocations: 3.938 kB / 1.288 GB, free: 6.348 MB / 0.9981 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.001179/0.9486, allocations: 0.6404 MB / 1.288 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.9486, allocations: 9.562 kB / 1.288 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.351e-05/0.9487, allocations: 9.453 kB / 1.288 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.816e-05/0.9487, allocations: 69.89 kB / 1.288 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009007/0.9496, allocations: 136.4 kB / 1.288 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.9501, allocations: 297 kB / 1.289 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.9502, allocations: 24.81 kB / 1.289 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.9502, allocations: 27.12 kB / 1.289 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/0.951, allocations: 464.5 kB / 1.289 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.951, allocations: 9.188 kB / 1.289 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.9511, allocations: 16.14 kB / 1.289 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/0.9511, allocations: 26.39 kB / 1.289 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.9517, allocations: 325.8 kB / 1.29 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.9545, allocations: 2.183 MB / 1.292 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.955, allocations: 240.3 kB / 1.292 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.9553, allocations: 96.88 kB / 1.292 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.9553, allocations: 2.688 kB / 1.292 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.9554, allocations: 32.72 kB / 1.292 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.9554, allocations: 0 / 1.292 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0008163/0.9562, allocations: 305.1 kB / 1.292 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.9562, allocations: 57.31 kB / 1.292 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.9566, allocations: 271.6 kB / 1.293 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.9567, allocations: 27.2 kB / 1.293 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.9569, allocations: 204.5 kB / 1.293 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.9569, allocations: 58.8 kB / 1.293 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.957, allocations: 51.39 kB / 1.293 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002281/0.9573, allocations: 335.3 kB / 1.293 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.9574, allocations: 61.61 kB / 1.293 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.9576, allocations: 141.4 kB / 1.294 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.9579, allocations: 222.2 kB / 1.294 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9579, allocations: 1.406 kB / 1.294 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004991/0.9584, allocations: 266.4 kB / 1.294 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.9584, allocations: 9.156 kB / 1.294 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9585, allocations: 2.438 kB / 1.294 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.9586, allocations: 23.61 kB / 1.294 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.9589, allocations: 55.69 kB / 1.294 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.9602, allocations: 1.421 MB / 1.295 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.9604, allocations: 31.03 kB / 1.295 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.9604, allocations: 13.5 kB / 1.295 GB, free: 15.95 MB / 1.014 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.0002442/0.9607, allocations: 175.7 kB / 1.296 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.9607, allocations: 27.55 kB / 1.296 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.926e-05/0.9608, allocations: 28.28 kB / 1.296 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9608, allocations: 1.062 kB / 1.296 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9608, allocations: 1 kB / 1.296 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9608, allocations: 1.031 kB / 1.296 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.9621, allocations: 0.7078 MB / 1.296 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.9621, allocations: 1.125 kB / 1.296 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.9622, allocations: 26.75 kB / 1.296 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.9623, allocations: 28.27 kB / 1.296 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.9623, allocations: 6.969 kB / 1.296 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.9636, allocations: 1.418 MB / 1.298 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.9636, allocations: 6.5 kB / 1.298 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.964, allocations: 310.1 kB / 1.298 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.9642, allocations: 119 kB / 1.298 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.9642, allocations: 3.5 kB / 1.298 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.9644, allocations: 17.19 kB / 1.298 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.9644, allocations: 13.05 kB / 1.298 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.9644, allocations: 13.7 kB / 1.298 GB, free: 13.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002369/0.9647, allocations: 191.2 kB / 1.299 GB, free: 13.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9647, allocations: 0 / 1.299 GB, free: 13.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004732/0.9652, allocations: 76.41 kB / 1.299 GB, free: 13.25 MB / 1.014 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.0007681/0.9659, allocations: 0.8585 MB / 1.299 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.9665, allocations: 262.6 kB / 1.3 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9665, allocations: 1.281 kB / 1.3 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.9668, allocations: 179.8 kB / 1.3 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.9673, allocations: 63.61 kB / 1.3 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.971, allocations: 2.712 MB / 1.303 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.9716, allocations: 0.7937 MB / 1.303 GB, free: 9.449 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.9718, allocations: 45.64 kB / 1.303 GB, free: 9.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.9719, allocations: 87.11 kB / 1.303 GB, free: 9.371 MB / 1.014 GB Notification: Performance of SimCode: time 8.41e-07/0.9719, allocations: 0.8438 kB / 1.303 GB, free: 9.371 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/1.002, allocations: 5.466 MB / 1.309 GB, free: 8.656 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.44, allocations: 11.45 kB / 1.309 GB, free: 8.652 MB / 1.014 GB " [Timeout remaining time 288] (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: 17.70075104595162]