Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001887/0.001887, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002379/0.002379, allocations: 219.4 kB / 22.26 MB, free: 5.121 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.961 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.372/3.372, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.Loads.Examples.Resistor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor",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.003235/0.003235, allocations: 67.67 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3941, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006648/0.4008, allocations: 3.986 MB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.4042, allocations: 1.838 MB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.4044, allocations: 15.94 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.406, allocations: 0.502 MB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006498/0.4067, allocations: 226.9 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.4073, allocations: 215.4 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.408, allocations: 474.4 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.4087, allocations: 293.4 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.4091, allocations: 199.4 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005921/0.4097, allocations: 231.1 kB / 1.361 GB, free: 488 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.635e-05/0.4097, allocations: 32 kB / 1.361 GB, free: 456 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.4103, allocations: 247.5 kB / 1.361 GB, free: 208 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.4105, allocations: 135.6 kB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.4108, allocations: 167.2 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009764/0.4117, allocations: 0.4981 MB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4117, allocations: 0 / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4117, allocations: 3.938 kB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.4118, allocations: 0 / 1.362 GB, free: 15.4 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001385/0.4131, allocations: 0.5731 MB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4132, allocations: 8.031 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.4133, allocations: 74.7 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009968/0.4143, allocations: 136.6 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.4147, allocations: 234 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.4148, allocations: 21.03 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.4148, allocations: 24.38 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007689/0.4156, allocations: 471.6 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4156, allocations: 3.938 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.4156, allocations: 12 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/0.4157, allocations: 28.64 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.4163, allocations: 318.3 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.419, allocations: 2.155 MB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.4194, allocations: 170.7 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.4196, allocations: 99.55 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.4197, allocations: 0 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4197, allocations: 34.56 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.4197, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0006279/0.4203, allocations: 226.2 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.4204, allocations: 55.66 kB / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.4207, allocations: 265.8 kB / 1.366 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4207, allocations: 33.7 kB / 1.366 GB, free: 10.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.4209, allocations: 212.2 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.421, allocations: 47.72 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.582e-05/0.4211, allocations: 57.83 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.4212, allocations: 338.8 kB / 1.367 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.4213, allocations: 52.44 kB / 1.367 GB, free: 9.438 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.4215, allocations: 153.2 kB / 1.367 GB, free: 9.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.4218, allocations: 212.8 kB / 1.367 GB, free: 9.004 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4218, allocations: 4 kB / 1.367 GB, free: 9 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005015/0.4223, allocations: 266 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4224, allocations: 8 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4224, allocations: 3.984 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.4225, allocations: 28.84 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.4228, allocations: 48.28 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.4241, allocations: 1.322 MB / 1.369 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.4243, allocations: 23.78 kB / 1.369 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4243, allocations: 12 kB / 1.369 GB, free: 7.172 MB / 1.061 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.0002248/0.4246, allocations: 173.6 kB / 1.369 GB, free: 6.992 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.4246, allocations: 23.86 kB / 1.369 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.4247, allocations: 37.75 kB / 1.369 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4247, allocations: 0 / 1.369 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4247, allocations: 4.062 kB / 1.369 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4247, allocations: 4 kB / 1.369 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.4258, allocations: 0.6664 MB / 1.37 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4258, allocations: 8.188 kB / 1.37 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.4259, allocations: 23.92 kB / 1.37 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.893e-05/0.426, allocations: 28.78 kB / 1.37 GB, free: 6.105 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.426, allocations: 4.062 kB / 1.37 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.4272, allocations: 1.314 MB / 1.371 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.4272, allocations: 4.031 kB / 1.371 GB, free: 4.668 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.4276, allocations: 319.2 kB / 1.372 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4277, allocations: 39.72 kB / 1.372 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.4277, allocations: 4 kB / 1.372 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.4279, allocations: 12 kB / 1.372 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4279, allocations: 19.91 kB / 1.372 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.4279, allocations: 8 kB / 1.372 GB, free: 4.238 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002066/0.4281, allocations: 189.2 kB / 1.372 GB, free: 4.051 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4281, allocations: 96 / 1.372 GB, free: 4.051 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004342/0.4286, allocations: 83.78 kB / 1.372 GB, free: 3.969 MB / 1.061 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.0007344/0.4293, allocations: 0.8508 MB / 1.373 GB, free: 3.066 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.4298, allocations: 269 kB / 1.373 GB, free: 2.793 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4298, allocations: 0.75 kB / 1.373 GB, free: 2.793 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.4301, allocations: 186.5 kB / 1.373 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.4306, allocations: 56.41 kB / 1.373 GB, free: 2.543 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.4342, allocations: 2.72 MB / 1.376 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.4348, allocations: 0.7909 MB / 1.377 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.4349, allocations: 50.25 kB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.435, allocations: 83.41 kB / 1.377 GB, free: 14.69 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/0.435, allocations: 0 / 1.377 GB, free: 14.69 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.4801, allocations: 5.616 MB / 1.382 GB, free: 9.238 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.44, allocations: 8.016 kB / 1.382 GB, free: 9.234 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.381046540802345]