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.001349/0.001349, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001618/0.001618, allocations: 213.1 kB / 22.24 MB, free: 5.262 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.805 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.737/2.737, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 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="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.002136/0.002136, allocations: 67.41 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3114, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006124/0.3175, allocations: 3.786 MB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003187/0.3207, allocations: 1.702 MB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3209, allocations: 11.94 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.3224, allocations: 492.1 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.323, allocations: 238.8 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.3235, allocations: 207.5 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.3241, allocations: 478.4 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005243/0.3246, allocations: 288.9 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.3249, allocations: 195.4 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.3253, allocations: 215.1 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.3253, allocations: 28 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.3257, allocations: 215.5 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3259, allocations: 135.6 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.3261, allocations: 151.4 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.3267, allocations: 0.5059 MB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3267, allocations: 0 / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3267, allocations: 0 / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.3268, allocations: 0 / 1.291 GB, free: 3.887 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.001155/0.3279, allocations: 0.5674 MB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.328, allocations: 12.03 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.3281, allocations: 62.73 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.329, allocations: 140.6 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.3295, allocations: 226 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.3295, allocations: 21.03 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.3296, allocations: 36.36 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.3305, allocations: 0.5821 MB / 1.293 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3305, allocations: 0 / 1.293 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.3306, allocations: 15.98 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.735e-05/0.3306, allocations: 32.62 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/0.3312, allocations: 318.3 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.3334, allocations: 1.583 MB / 1.294 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.3337, allocations: 158.7 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.334, allocations: 96.8 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.334, allocations: 0 / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.334, allocations: 46.56 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.334, allocations: 0 / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0005966/0.3346, allocations: 227.2 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3347, allocations: 51.41 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.335, allocations: 269.8 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.335, allocations: 33.7 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3352, allocations: 212.2 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.3352, allocations: 55.62 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.3353, allocations: 49.88 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.3355, allocations: 342.7 kB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3356, allocations: 56.42 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.3358, allocations: 144.7 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3361, allocations: 217.5 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3361, allocations: 0 / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004316/0.3365, allocations: 262.3 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3366, allocations: 12.06 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3366, allocations: 4 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.3367, allocations: 24.84 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.3369, allocations: 51.91 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.3381, allocations: 1.322 MB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3382, allocations: 35.72 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.3383, allocations: 12 kB / 1.298 GB, free: 12.18 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.0001912/0.3384, allocations: 165.7 kB / 1.298 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.3385, allocations: 23.86 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.3385, allocations: 29.77 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3386, allocations: 0 / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3386, allocations: 0 / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3386, allocations: 4 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.3395, allocations: 0.6047 MB / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3395, allocations: 0 / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/0.3396, allocations: 27.92 kB / 1.299 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.122e-05/0.3397, allocations: 28.78 kB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3397, allocations: 4 kB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.3408, allocations: 1.303 MB / 1.3 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3408, allocations: 4.031 kB / 1.3 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.3412, allocations: 315.7 kB / 1.3 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.3413, allocations: 43.78 kB / 1.3 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.3413, allocations: 4 kB / 1.3 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3415, allocations: 16.16 kB / 1.3 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.3415, allocations: 19.84 kB / 1.3 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3415, allocations: 8 kB / 1.301 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001976/0.3417, allocations: 189.2 kB / 1.301 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3417, allocations: 96 / 1.301 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003828/0.3421, allocations: 83.7 kB / 1.301 GB, free: 9.094 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.0007395/0.3428, allocations: 0.8475 MB / 1.302 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.3433, allocations: 274.3 kB / 1.302 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3433, allocations: 0 / 1.302 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3435, allocations: 178.5 kB / 1.302 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.344, allocations: 66.78 kB / 1.302 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.3476, allocations: 2.729 MB / 1.305 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3478, allocations: 186.1 kB / 1.305 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.348, allocations: 46.25 kB / 1.305 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3481, allocations: 83.41 kB / 1.305 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.3481, allocations: 0 / 1.305 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/0.3837, allocations: 6.118 MB / 1.311 GB, free: 14.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 0 / 1.311 GB, free: 14.51 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: 18.312432853039354]