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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 192.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 71.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.909/0.911, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006522/0.9175, allocations: 3.975 MB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003379/0.9209, allocations: 1.796 MB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.9211, allocations: 11.94 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.9227, allocations: 0.5019 MB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.9233, allocations: 230.9 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.9239, allocations: 204.7 kB / 1.281 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.9245, allocations: 478.4 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.925, allocations: 263.9 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.9252, allocations: 195.4 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.9257, allocations: 231.1 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.9257, allocations: 28 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.9262, allocations: 251.4 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.9263, allocations: 131.6 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.9265, allocations: 171.2 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.9272, allocations: 0.5059 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9273, allocations: 0 / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9273, allocations: 0 / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.9273, allocations: 0 / 1.283 GB, free: 11.58 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.001218/0.9285, allocations: 0.6388 MB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9285, allocations: 12.03 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.9295, allocations: 132.6 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.93, allocations: 308.2 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.93, allocations: 25.02 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.93, allocations: 32.38 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.9308, allocations: 463.8 kB / 1.284 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.9308, allocations: 0 / 1.284 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.9309, allocations: 16 kB / 1.284 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.9309, allocations: 32.55 kB / 1.284 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.9314, allocations: 321.9 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.934, allocations: 2.181 MB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.9344, allocations: 243.8 kB / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.9347, allocations: 100.8 kB / 1.287 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.9347, allocations: 0 / 1.287 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.9347, allocations: 34.56 kB / 1.287 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.9347, allocations: 0 / 1.287 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0006604/0.9354, allocations: 305.9 kB / 1.287 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.9354, allocations: 51.41 kB / 1.287 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.9358, allocations: 266.6 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.9358, allocations: 33.7 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.9359, allocations: 212.2 kB / 1.288 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.936, allocations: 51.59 kB / 1.288 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.9361, allocations: 45.94 kB / 1.288 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.9362, allocations: 338.8 kB / 1.288 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.9363, allocations: 56.38 kB / 1.288 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.9365, allocations: 153.4 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.9368, allocations: 225 kB / 1.289 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.9368, allocations: 4 kB / 1.289 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004359/0.9373, allocations: 254.4 kB / 1.289 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.9373, allocations: 12.03 kB / 1.289 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9373, allocations: 0 / 1.289 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.9375, allocations: 32.83 kB / 1.289 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.9376, allocations: 43.92 kB / 1.289 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.9389, allocations: 1.434 MB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.9391, allocations: 31.73 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.9391, allocations: 8 kB / 1.291 GB, free: 2.883 MB / 0.9825 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.0001814/0.9393, allocations: 173.8 kB / 1.291 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.9394, allocations: 27.86 kB / 1.291 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.9394, allocations: 25.83 kB / 1.291 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.9394, allocations: 4 kB / 1.291 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.9394, allocations: 0 / 1.291 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9394, allocations: 0 / 1.291 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.9404, allocations: 0.6987 MB / 1.291 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.9404, allocations: 0 / 1.291 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.9405, allocations: 27.92 kB / 1.292 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.422e-05/0.9406, allocations: 28.97 kB / 1.292 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.9406, allocations: 8 kB / 1.292 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.9418, allocations: 1.414 MB / 1.293 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9418, allocations: 4 kB / 1.293 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.9422, allocations: 323.4 kB / 1.293 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.9424, allocations: 116.9 kB / 1.293 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.9424, allocations: 12 kB / 1.293 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.9426, allocations: 4 kB / 1.293 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.9426, allocations: 27.67 kB / 1.293 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.9426, allocations: 4 kB / 1.293 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001997/0.9428, allocations: 194 kB / 1.294 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9428, allocations: 0 / 1.294 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004073/0.9432, allocations: 75.89 kB / 1.294 GB, free: 15.44 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.0001282/0.9433, allocations: 107.2 kB / 1.294 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.9438, allocations: 266.4 kB / 1.294 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9438, allocations: 0 / 1.294 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.9441, allocations: 182.5 kB / 1.294 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.9446, allocations: 73.64 kB / 1.294 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.9455, allocations: 0.543 MB / 1.295 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.9461, allocations: 0.7909 MB / 1.296 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001459/0.9462, allocations: 42.27 kB / 1.296 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.9463, allocations: 23.44 kB / 1.296 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.9463, allocations: 0 / 1.296 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.007261/0.9535, allocations: 2.814 MB / 1.298 GB, free: 10.54 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] 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_2/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: 9.141912306193262]