Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001811/0.001811, allocations: 113 kB / 18.94 MB, free: 2.934 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.002288/0.002288, allocations: 207.3 kB / 22.25 MB, free: 5.086 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 / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.364/3.364, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_12_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.002223/0.002223, allocations: 62.52 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3725, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006636/0.3792, allocations: 3.979 MB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.3827, allocations: 1.854 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.383, allocations: 7.938 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.3847, allocations: 0.5059 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006549/0.3854, allocations: 234.9 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.386, allocations: 205.3 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.3867, allocations: 470.5 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006237/0.3873, allocations: 293.4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.3877, allocations: 203.3 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.3882, allocations: 231.2 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.3883, allocations: 28 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.3888, allocations: 247.5 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.389, allocations: 135.6 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.3892, allocations: 175.1 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008859/0.3901, allocations: 0.502 MB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3901, allocations: 0 / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3901, allocations: 0 / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.3902, allocations: 11.94 kB / 1.335 GB, free: 8.91 MB / 1.029 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.001325/0.3915, allocations: 0.5596 MB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3915, allocations: 8.031 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.3916, allocations: 74.7 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/0.3926, allocations: 136.6 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.3931, allocations: 242.5 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.3931, allocations: 21.02 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.3932, allocations: 28.38 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.394, allocations: 463.6 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.394, allocations: 3.938 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.394, allocations: 12 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.3941, allocations: 36.61 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.3947, allocations: 322.3 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.3976, allocations: 2.147 MB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.398, allocations: 158.7 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.3982, allocations: 97.05 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.3982, allocations: 4 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.3983, allocations: 42.56 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/0.3983, allocations: 0 / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006543/0.3989, allocations: 222.2 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.399, allocations: 51.41 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.3994, allocations: 265.9 kB / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3994, allocations: 33.7 kB / 1.339 GB, free: 3.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3996, allocations: 212.2 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.3996, allocations: 47.59 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.3997, allocations: 53.89 kB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3999, allocations: 330.8 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.4, allocations: 60.42 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.4002, allocations: 150.4 kB / 1.34 GB, free: 2.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.4005, allocations: 220.7 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4005, allocations: 0 / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005499/0.4011, allocations: 265 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4011, allocations: 4 kB / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4011, allocations: 4.375 kB / 1.341 GB, free: 2.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.4013, allocations: 28.84 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.4015, allocations: 51.91 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.403, allocations: 1.326 MB / 1.342 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.4032, allocations: 31.88 kB / 1.342 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.4033, allocations: 11.94 kB / 1.342 GB, free: 0.6797 MB / 1.029 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.0002486/0.4035, allocations: 171.2 kB / 1.342 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.4036, allocations: 27.86 kB / 1.342 GB, free: 488 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.4036, allocations: 29.77 kB / 1.342 GB, free: 456 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4036, allocations: 7.938 kB / 1.342 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4036, allocations: 3.938 kB / 1.342 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4037, allocations: 0 / 1.342 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4049, allocations: 0.6704 MB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4049, allocations: 0 / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.405, allocations: 27.92 kB / 1.343 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.4051, allocations: 28.78 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4051, allocations: 0 / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.4063, allocations: 1.319 MB / 1.344 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4063, allocations: 0 / 1.344 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.4068, allocations: 317.3 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.4069, allocations: 39.78 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.4069, allocations: 4 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4071, allocations: 15.98 kB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.4072, allocations: 11.92 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.4072, allocations: 4 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000248/0.4074, allocations: 201.1 kB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4074, allocations: 0 / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004659/0.4079, allocations: 79.84 kB / 1.345 GB, free: 13.49 MB / 1.045 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.0008354/0.4087, allocations: 0.8508 MB / 1.346 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.4093, allocations: 262.8 kB / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4093, allocations: 0 / 1.346 GB, free: 12.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.4096, allocations: 178.6 kB / 1.346 GB, free: 12.13 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.4101, allocations: 67.05 kB / 1.346 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.4143, allocations: 2.727 MB / 1.349 GB, free: 9.152 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.4149, allocations: 0.7948 MB / 1.35 GB, free: 8.332 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.4151, allocations: 50.23 kB / 1.35 GB, free: 8.285 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.4152, allocations: 79.41 kB / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of SimCode: time 1.643e-06/0.4152, allocations: 0 / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04385/0.4591, allocations: 5.608 MB / 1.355 GB, free: 2.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.51, allocations: 8.047 kB / 1.355 GB, free: 2.766 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.546705185901374]