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.001361/0.001361, 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.001602/0.001602, allocations: 216.8 kB / 22.25 MB, free: 5.125 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.977 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 3.074/3.074, allocations: 476.7 MB / 0.7707 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_11_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.002112/0.002112, allocations: 62.73 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3591, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.007834/0.3669, allocations: 3.994 MB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.3703, allocations: 1.831 MB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.3706, allocations: 15.94 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.3721, allocations: 0.5097 MB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006367/0.3728, allocations: 230.9 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.3734, allocations: 211.5 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.3741, allocations: 474.4 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.3747, allocations: 290.1 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.3751, allocations: 199.4 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.3756, allocations: 227.1 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.3757, allocations: 32 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005015/0.3762, allocations: 255.4 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.3763, allocations: 131.6 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.3766, allocations: 171.1 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008043/0.3774, allocations: 0.4982 MB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3774, allocations: 3.938 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3774, allocations: 0 / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.3774, allocations: 0 / 1.292 GB, free: 2.641 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.00123/0.3786, allocations: 0.5674 MB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3787, allocations: 12.03 kB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.886e-05/0.3788, allocations: 70.7 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.3797, allocations: 140.5 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.3802, allocations: 230.5 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.3803, allocations: 24.97 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.3803, allocations: 28.38 kB / 1.293 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.3811, allocations: 471.5 kB / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3811, allocations: 0 / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.3811, allocations: 16 kB / 1.294 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/0.3812, allocations: 28.64 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.3818, allocations: 322.3 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.3843, allocations: 2.155 MB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.3847, allocations: 163.8 kB / 1.296 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.3849, allocations: 96.81 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3849, allocations: 0 / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.3849, allocations: 46.48 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.3849, allocations: 0 / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0006221/0.3856, allocations: 220 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3856, allocations: 55.41 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.3859, allocations: 265.9 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3859, allocations: 29.7 kB / 1.297 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.3861, allocations: 204.3 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.3861, allocations: 55.52 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.3862, allocations: 57.89 kB / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3864, allocations: 338.8 kB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3865, allocations: 56.38 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.3867, allocations: 148.8 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.387, allocations: 217.3 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.387, allocations: 0 / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004758/0.3875, allocations: 266 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3875, allocations: 8 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3875, allocations: 4 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.3877, allocations: 28.78 kB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.3879, allocations: 44.36 kB / 1.298 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.3891, allocations: 1.326 MB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.3893, allocations: 23.78 kB / 1.3 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3893, allocations: 12 kB / 1.3 GB, free: 10.41 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.0001729/0.3895, allocations: 169.6 kB / 1.3 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.3895, allocations: 23.86 kB / 1.3 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.3896, allocations: 29.77 kB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3896, allocations: 0 / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3896, allocations: 8.156 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3896, allocations: 7.922 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009755/0.3906, allocations: 0.6667 MB / 1.301 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3906, allocations: 8.031 kB / 1.301 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.433e-05/0.3907, allocations: 24 kB / 1.301 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.778e-05/0.3908, allocations: 32.77 kB / 1.301 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3908, allocations: 4 kB / 1.301 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.3919, allocations: 1.311 MB / 1.302 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3919, allocations: 4.031 kB / 1.302 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.3923, allocations: 319.6 kB / 1.302 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.3924, allocations: 35.78 kB / 1.302 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.3924, allocations: 11.98 kB / 1.302 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3926, allocations: 8 kB / 1.302 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3926, allocations: 23.86 kB / 1.302 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3926, allocations: 4 kB / 1.302 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002066/0.3928, allocations: 189.2 kB / 1.302 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3928, allocations: 0 / 1.302 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004071/0.3932, allocations: 79.84 kB / 1.303 GB, free: 7.219 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.0007277/0.3939, allocations: 0.8586 MB / 1.303 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.3945, allocations: 265.8 kB / 1.304 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3945, allocations: 4.75 kB / 1.304 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.3947, allocations: 186.5 kB / 1.304 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.3952, allocations: 54.06 kB / 1.304 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.3991, allocations: 2.728 MB / 1.307 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.3996, allocations: 0.7909 MB / 1.307 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.3997, allocations: 38.27 kB / 1.307 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3999, allocations: 87.34 kB / 1.307 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of SimCode: time 9.81e-07/0.3999, allocations: 0 / 1.307 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04962/0.4495, allocations: 5.604 MB / 1.313 GB, free: 12.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.32, allocations: 6.688 kB / 1.313 GB, free: 12.5 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.314130677841604]