Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001269/0.001269, allocations: 108 kB / 17.08 MB, free: 6.016 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.001441/0.001441, allocations: 197.1 kB / 20.03 MB, free: 3.082 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.433/1.433, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437.1 MB / 0.7177 GB, free: 4.5 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 71.88 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 151.6 MB / 1.176 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006164/0.3288, allocations: 3.834 MB / 1.18 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.3319, allocations: 1.745 MB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.3321, allocations: 7.938 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.3336, allocations: 0.4942 MB / 1.182 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.3342, allocations: 222.9 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.3347, allocations: 203.5 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.3353, allocations: 478.4 kB / 1.183 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.3359, allocations: 377 kB / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.3362, allocations: 191.3 kB / 1.183 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.3366, allocations: 215.2 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.3367, allocations: 32 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.3371, allocations: 243.4 kB / 1.184 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3373, allocations: 123.7 kB / 1.184 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.3375, allocations: 171.2 kB / 1.184 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.3381, allocations: 0.502 MB / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3381, allocations: 0 / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3382, allocations: 0 / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3382, allocations: 0 / 1.184 GB, free: 13.15 MB / 0.9356 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.00113/0.3393, allocations: 0.6388 MB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3393, allocations: 15.97 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.3402, allocations: 132.6 kB / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.3407, allocations: 299.8 kB / 1.185 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3407, allocations: 21.03 kB / 1.185 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.3407, allocations: 28.38 kB / 1.186 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.3414, allocations: 467.9 kB / 1.186 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3415, allocations: 4 kB / 1.186 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.3415, allocations: 15.98 kB / 1.186 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.3416, allocations: 28.55 kB / 1.186 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.3421, allocations: 321.9 kB / 1.186 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.3444, allocations: 2.177 MB / 1.188 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.3449, allocations: 267.7 kB / 1.189 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.3451, allocations: 108.7 kB / 1.189 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.3451, allocations: 0 / 1.189 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3452, allocations: 34.56 kB / 1.189 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.3452, allocations: 0 / 1.189 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0006301/0.3458, allocations: 299.2 kB / 1.189 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3459, allocations: 63.33 kB / 1.189 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.3462, allocations: 266.6 kB / 1.189 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3462, allocations: 25.7 kB / 1.189 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3463, allocations: 212.2 kB / 1.19 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.3464, allocations: 55.56 kB / 1.19 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.3465, allocations: 53.89 kB / 1.19 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3466, allocations: 334.8 kB / 1.19 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3468, allocations: 56.44 kB / 1.19 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.3469, allocations: 137.5 kB / 1.19 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.3472, allocations: 229.6 kB / 1.19 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3473, allocations: 0 / 1.19 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000432/0.3477, allocations: 270.1 kB / 1.191 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3477, allocations: 10.34 kB / 1.191 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3477, allocations: 7.984 kB / 1.191 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.3479, allocations: 20.84 kB / 1.191 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.3481, allocations: 55.91 kB / 1.191 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.3493, allocations: 1.418 MB / 1.192 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.3495, allocations: 31.94 kB / 1.192 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3495, allocations: 8 kB / 1.192 GB, free: 4.441 MB / 0.9356 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.0001783/0.3497, allocations: 169.7 kB / 1.192 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.3498, allocations: 27.81 kB / 1.192 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.3498, allocations: 29.83 kB / 1.192 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3498, allocations: 0 / 1.192 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3498, allocations: 0 / 1.192 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3498, allocations: 4 kB / 1.192 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.3508, allocations: 0.7025 MB / 1.193 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3508, allocations: 8.062 kB / 1.193 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.3509, allocations: 16.38 kB / 1.193 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.772e-05/0.351, allocations: 32.78 kB / 1.193 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.351, allocations: 11.94 kB / 1.193 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.3521, allocations: 1.422 MB / 1.195 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3522, allocations: 0 / 1.195 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.3525, allocations: 314.7 kB / 1.195 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3526, allocations: 120.9 kB / 1.195 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3527, allocations: 3.984 kB / 1.195 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3528, allocations: 16 kB / 1.195 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3529, allocations: 19.86 kB / 1.195 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3529, allocations: 11.94 kB / 1.195 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001949/0.3531, allocations: 190 kB / 1.195 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3531, allocations: 0 / 1.195 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003987/0.3535, allocations: 75.83 kB / 1.195 GB, free: 0.9922 MB / 0.9356 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.0001345/0.3537, allocations: 107.2 kB / 1.195 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.3542, allocations: 274.4 kB / 1.196 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.3542, allocations: 0 / 1.196 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3544, allocations: 179.7 kB / 1.196 GB, free: 416 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.3549, allocations: 62.64 kB / 1.196 GB, free: 356 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.3558, allocations: 0.584 MB / 1.196 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3563, allocations: 0.7909 MB / 1.197 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.3563, allocations: 23.42 kB / 1.197 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.3563, allocations: 0 / 1.197 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of Templates: time 0.00705/0.3634, allocations: 4.401 MB / 1.202 GB, free: 10.48 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.962550612050109]