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.001325/0.001325, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001456/0.001456, allocations: 219.7 kB / 23.04 MB, free: 5.074 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.527/1.527, allocations: 230.6 MB / 256.8 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.191/3.191, allocations: 0.49 GB / 0.7959 GB, free: 33.47 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_12_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.002107/0.002107, allocations: 63.25 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3501, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006148/0.3563, allocations: 3.99 MB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3595, allocations: 1.846 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.3598, allocations: 11.94 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.3614, allocations: 0.5058 MB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006536/0.3621, allocations: 230.9 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.3626, allocations: 205.5 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006369/0.3633, allocations: 474.4 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.3638, allocations: 293.3 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.364, allocations: 195.4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.3645, allocations: 227.2 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.3645, allocations: 28 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.365, allocations: 263.4 kB / 1.335 GB, free: 9.719 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3651, allocations: 123.6 kB / 1.335 GB, free: 9.598 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.3653, allocations: 179.1 kB / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.366, allocations: 0.502 MB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.366, allocations: 0 / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.366, allocations: 0 / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.366, allocations: 0 / 1.335 GB, free: 8.918 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.00105/0.367, allocations: 0.5674 MB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3671, allocations: 8.031 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.336e-05/0.3671, allocations: 12.84 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.608e-05/0.3672, allocations: 74.66 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009276/0.3681, allocations: 140.6 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.3685, allocations: 238.5 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3686, allocations: 21.03 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.3686, allocations: 28.36 kB / 1.337 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.3693, allocations: 467.4 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3693, allocations: 3.938 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.3694, allocations: 12 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.646e-05/0.3694, allocations: 32.62 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.3699, allocations: 326.3 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.3723, allocations: 2.143 MB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.3727, allocations: 162.7 kB / 1.34 GB, free: 4.398 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.3729, allocations: 97.05 kB / 1.34 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3729, allocations: 4 kB / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.373, allocations: 42.55 kB / 1.34 GB, free: 4.246 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.373, allocations: 0 / 1.34 GB, free: 4.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0005707/0.3735, allocations: 223.6 kB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3736, allocations: 51.41 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.3739, allocations: 265.9 kB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3739, allocations: 25.7 kB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.374, allocations: 216.2 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.3741, allocations: 51.59 kB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.3742, allocations: 49.89 kB / 1.341 GB, free: 3.332 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3743, allocations: 334.8 kB / 1.341 GB, free: 2.996 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.3744, allocations: 56.44 kB / 1.341 GB, free: 2.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.3746, allocations: 148.7 kB / 1.341 GB, free: 2.758 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.3749, allocations: 217.3 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3749, allocations: 4 kB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004357/0.3753, allocations: 258 kB / 1.342 GB, free: 2.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3753, allocations: 7.984 kB / 1.342 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3753, allocations: 4 kB / 1.342 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.3755, allocations: 33.22 kB / 1.342 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.3757, allocations: 51.86 kB / 1.342 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.3769, allocations: 1.322 MB / 1.343 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3771, allocations: 27.78 kB / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3771, allocations: 8 kB / 1.343 GB, free: 0.6758 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.0001927/0.3773, allocations: 174.9 kB / 1.343 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.3774, allocations: 28.05 kB / 1.343 GB, free: 480 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.3774, allocations: 33.7 kB / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3774, allocations: 0 / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3774, allocations: 0 / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3774, allocations: 3.984 kB / 1.343 GB, free: 440 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.3784, allocations: 0.6743 MB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3784, allocations: 0 / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-05/0.3785, allocations: 23.94 kB / 1.344 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.575e-05/0.3786, allocations: 32.72 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3786, allocations: 11.98 kB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.3798, allocations: 1.311 MB / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3798, allocations: 4.156 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.3801, allocations: 309.2 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/0.3802, allocations: 39.78 kB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.3802, allocations: 7.984 kB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3804, allocations: 15.94 kB / 1.346 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.3804, allocations: 7.984 kB / 1.346 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.3804, allocations: 12 kB / 1.346 GB, free: 13.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001925/0.3806, allocations: 193.2 kB / 1.346 GB, free: 13.56 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3806, allocations: 4 kB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003943/0.381, allocations: 75.84 kB / 1.346 GB, free: 13.48 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.0006698/0.3817, allocations: 0.8576 MB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.3822, allocations: 262.9 kB / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3822, allocations: 0 / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.3824, allocations: 182.5 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.3829, allocations: 60.16 kB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.3863, allocations: 2.728 MB / 1.35 GB, free: 9.141 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3868, allocations: 0.7909 MB / 1.351 GB, free: 8.324 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.3869, allocations: 50.23 kB / 1.351 GB, free: 8.277 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3871, allocations: 83.41 kB / 1.351 GB, free: 8.195 MB / 1.045 GB Notification: Performance of SimCode: time 7.12e-07/0.3871, allocations: 0 / 1.351 GB, free: 8.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.4193, allocations: 5.647 MB / 1.356 GB, free: 2.738 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.31, allocations: 7.031 kB / 1.356 GB, free: 2.734 MB / 1.045 GB " [Timeout remaining time 288] (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.187497757957317]