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.001722/0.001722, allocations: 114.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.002012/0.002012, allocations: 192.8 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.457/1.457, 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.816/2.816, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.002009/0.002009, allocations: 63.91 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.908/0.9101, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006212/0.9163, allocations: 3.993 MB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.9194, allocations: 1.792 MB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.9196, allocations: 15.94 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.9211, allocations: 0.4942 MB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.9216, allocations: 238.8 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.9222, allocations: 207.5 kB / 1.281 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005895/0.9228, allocations: 474.4 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.9233, allocations: 263.9 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.9236, allocations: 195.4 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.924, allocations: 227.1 kB / 1.282 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.924, allocations: 32 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.9245, allocations: 251.4 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.9246, allocations: 131.6 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.9248, allocations: 167.2 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.9254, allocations: 0.502 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9254, allocations: 0 / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9254, allocations: 0 / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.9254, allocations: 0 / 1.283 GB, free: 11.62 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.001127/0.9266, allocations: 0.6505 MB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.9266, allocations: 12.03 kB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009295/0.9275, allocations: 128.6 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.928, allocations: 304.2 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.9281, allocations: 28.95 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.9281, allocations: 28.38 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.9288, allocations: 467.8 kB / 1.284 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.9288, allocations: 4 kB / 1.284 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.9289, allocations: 12 kB / 1.284 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.113e-05/0.9289, allocations: 32.53 kB / 1.284 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005169/0.9295, allocations: 318 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.932, allocations: 2.178 MB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.9324, allocations: 247.8 kB / 1.287 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.9326, allocations: 96.8 kB / 1.287 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.9326, allocations: 0 / 1.287 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.9326, allocations: 34.56 kB / 1.287 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.9326, allocations: 0 / 1.287 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0006492/0.9333, allocations: 307.3 kB / 1.287 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.9333, allocations: 51.41 kB / 1.287 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.9337, allocations: 262.6 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.9337, allocations: 33.7 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.9338, allocations: 212.2 kB / 1.288 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.9339, allocations: 51.59 kB / 1.288 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.934, allocations: 45.94 kB / 1.288 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.9341, allocations: 342.8 kB / 1.288 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.9342, allocations: 56.38 kB / 1.288 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.9344, allocations: 154.9 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.9347, allocations: 222.9 kB / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.9347, allocations: 4 kB / 1.289 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004532/0.9352, allocations: 262 kB / 1.289 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.9352, allocations: 10.03 kB / 1.289 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.9352, allocations: 4.062 kB / 1.289 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.9354, allocations: 28.84 kB / 1.289 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.9356, allocations: 43.92 kB / 1.289 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.9368, allocations: 1.426 MB / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.937, allocations: 39.66 kB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.937, allocations: 8 kB / 1.291 GB, free: 2.914 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.0001793/0.9372, allocations: 169.6 kB / 1.291 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.9373, allocations: 23.86 kB / 1.291 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.9373, allocations: 25.84 kB / 1.291 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9373, allocations: 4 kB / 1.291 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.9373, allocations: 96 / 1.291 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.9374, allocations: 15.97 kB / 1.291 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.9384, allocations: 0.6909 MB / 1.291 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9384, allocations: 192 / 1.291 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.9385, allocations: 31.92 kB / 1.292 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.642e-05/0.9386, allocations: 28.78 kB / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.9386, allocations: 4 kB / 1.292 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.9398, allocations: 1.418 MB / 1.293 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9398, allocations: 4 kB / 1.293 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.9402, allocations: 323.8 kB / 1.293 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.9403, allocations: 112.9 kB / 1.293 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.9403, allocations: 8 kB / 1.293 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.9405, allocations: 15.98 kB / 1.293 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.9405, allocations: 19.86 kB / 1.293 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.9405, allocations: 4 kB / 1.293 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002109/0.9407, allocations: 190 kB / 1.294 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9407, allocations: 0 / 1.294 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004162/0.9412, allocations: 75.89 kB / 1.294 GB, free: 15.47 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.0001381/0.9413, allocations: 111.2 kB / 1.294 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.9418, allocations: 266.3 kB / 1.294 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9418, allocations: 0 / 1.294 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.942, allocations: 183.7 kB / 1.294 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.9425, allocations: 63.53 kB / 1.294 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.9435, allocations: 0.5508 MB / 1.295 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.9439, allocations: 0.7909 MB / 1.296 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.9441, allocations: 46.25 kB / 1.296 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.9441, allocations: 19.44 kB / 1.296 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.9441, allocations: 0 / 1.296 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.007041/0.9512, allocations: 2.808 MB / 1.298 GB, free: 10.58 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 cvode -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: 8.904124189168215]