Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001322/0.001323, allocations: 111.8 kB / 17.08 MB, free: 6.012 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.001569/0.001569, allocations: 191.7 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.535/1.535, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005605/1.082, allocations: 3.836 MB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002904/1.085, allocations: 1.753 MB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/1.085, allocations: 10.22 kB / 1.268 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/1.086, allocations: 494.2 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006434/1.087, allocations: 234.1 kB / 1.269 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/1.088, allocations: 208.2 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006546/1.088, allocations: 468.4 kB / 1.269 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/1.089, allocations: 368.5 kB / 1.27 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/1.089, allocations: 196.5 kB / 1.27 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/1.09, allocations: 212.8 kB / 1.27 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/1.09, allocations: 27.97 kB / 1.27 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/1.09, allocations: 243.9 kB / 1.27 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/1.09, allocations: 128.7 kB / 1.27 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/1.091, allocations: 168 kB / 1.271 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000729/1.091, allocations: 0.5051 MB / 1.271 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.091, allocations: 4 kB / 1.271 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/1.091, allocations: 0.7188 kB / 1.271 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.091, allocations: 0 / 1.271 GB, free: 2.719 MB / 0.9981 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.001028/1.092, allocations: 0.6407 MB / 1.272 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.092, allocations: 8.531 kB / 1.272 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/1.093, allocations: 142 kB / 1.272 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/1.094, allocations: 296.4 kB / 1.272 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/1.094, allocations: 20.97 kB / 1.272 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/1.094, allocations: 29.92 kB / 1.272 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/1.095, allocations: 466.1 kB / 1.273 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/1.095, allocations: 0 / 1.273 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/1.095, allocations: 12.89 kB / 1.273 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.488e-05/1.095, allocations: 38.25 kB / 1.273 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/1.095, allocations: 323.4 kB / 1.273 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/1.097, allocations: 2.178 MB / 1.275 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/1.098, allocations: 252.3 kB / 1.275 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/1.098, allocations: 108 kB / 1.276 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/1.098, allocations: 6.844 kB / 1.276 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.098, allocations: 32.06 kB / 1.276 GB, free: 15.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/1.098, allocations: 0 / 1.276 GB, free: 15.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0006955/1.099, allocations: 300.7 kB / 1.276 GB, free: 15.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/1.099, allocations: 57.03 kB / 1.276 GB, free: 15.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/1.099, allocations: 268.1 kB / 1.276 GB, free: 14.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/1.099, allocations: 26.8 kB / 1.276 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/1.099, allocations: 217.8 kB / 1.276 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/1.1, allocations: 50.09 kB / 1.276 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/1.1, allocations: 47.62 kB / 1.276 GB, free: 14.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.1, allocations: 334.5 kB / 1.277 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/1.1, allocations: 58.25 kB / 1.277 GB, free: 14.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/1.1, allocations: 140.9 kB / 1.277 GB, free: 14.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/1.1, allocations: 225.7 kB / 1.277 GB, free: 13.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/1.1, allocations: 5.094 kB / 1.277 GB, free: 13.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004478/1.101, allocations: 260.9 kB / 1.277 GB, free: 13.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.101, allocations: 6.625 kB / 1.277 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.101, allocations: 15.67 kB / 1.277 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/1.101, allocations: 27.98 kB / 1.277 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.101, allocations: 52.27 kB / 1.278 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/1.103, allocations: 1.415 MB / 1.279 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/1.103, allocations: 32.05 kB / 1.279 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/1.103, allocations: 13.95 kB / 1.279 GB, free: 12.38 MB / 1.014 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.0002127/1.103, allocations: 178.3 kB / 1.279 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/1.103, allocations: 25.33 kB / 1.279 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/1.103, allocations: 27.62 kB / 1.279 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.103, allocations: 1.688 kB / 1.279 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.103, allocations: 1.438 kB / 1.279 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.103, allocations: 0 / 1.279 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/1.104, allocations: 0.7036 MB / 1.28 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.104, allocations: 2.406 kB / 1.28 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/1.104, allocations: 21.17 kB / 1.28 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/1.104, allocations: 32 kB / 1.28 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/1.104, allocations: 3.609 kB / 1.28 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/1.106, allocations: 1.423 MB / 1.281 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.106, allocations: 7.062 kB / 1.281 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/1.106, allocations: 313.8 kB / 1.282 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/1.107, allocations: 120.4 kB / 1.282 GB, free: 9.828 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/1.107, allocations: 3.531 kB / 1.282 GB, free: 9.828 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/1.107, allocations: 11.77 kB / 1.282 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/1.107, allocations: 13.52 kB / 1.282 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.107, allocations: 9.531 kB / 1.282 GB, free: 9.816 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002956/1.107, allocations: 190.6 kB / 1.282 GB, free: 9.703 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/1.107, allocations: 0 / 1.282 GB, free: 9.703 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005534/1.108, allocations: 79.89 kB / 1.282 GB, free: 9.684 MB / 1.014 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.0001998/1.108, allocations: 105.9 kB / 1.282 GB, free: 9.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005954/1.109, allocations: 277.4 kB / 1.282 GB, free: 9.418 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.109, allocations: 0 / 1.282 GB, free: 9.418 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/1.109, allocations: 178.8 kB / 1.283 GB, free: 9.289 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/1.109, allocations: 58.25 kB / 1.283 GB, free: 9.273 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.111, allocations: 0.5879 MB / 1.283 GB, free: 8.875 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/1.111, allocations: 0.7889 MB / 1.284 GB, free: 8.168 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/1.111, allocations: 27.61 kB / 1.284 GB, free: 8.156 MB / 1.014 GB Notification: Performance of SimCode: time 2.01e-07/1.111, allocations: 0 / 1.284 GB, free: 8.156 MB / 1.014 GB Notification: Performance of Templates: time 0.009941/1.121, allocations: 4.417 MB / 1.288 GB, free: 7.789 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.568462516181171]