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.0009208/0.0009208, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008126/0.0008126, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8475/0.8475, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.626/1.626, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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 1.623e-06/1.623e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.135e-05, allocations: 10.22 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003368/0.003389, allocations: 3.738 MB / 0.9554 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.005006, allocations: 1.694 MB / 0.957 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.00512, allocations: 7.938 kB / 0.957 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007925/0.005913, allocations: 493.9 kB / 0.9575 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.00621, allocations: 238.5 kB / 0.9577 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.006466, allocations: 211.3 kB / 0.9579 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.006793, allocations: 494.2 kB / 0.9584 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.007151, allocations: 289.4 kB / 0.9587 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.007338, allocations: 275.4 kB / 0.9589 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.007602, allocations: 195.5 kB / 0.9591 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.007632, allocations: 28 kB / 0.9591 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.007838, allocations: 223.3 kB / 0.9594 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.007928, allocations: 135.6 kB / 0.9595 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.246e-05/0.008011, allocations: 123.7 kB / 0.9596 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.008407, allocations: 0.5062 MB / 0.9601 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.008409, allocations: 4 kB / 0.9601 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.41e-07/0.00841, allocations: 7.938 kB / 0.9601 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.008415, allocations: 0 / 0.9601 GB, free: 10.38 MB / 0.9167 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.0006345/0.009049, allocations: 0.5655 MB / 0.9607 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.009082, allocations: 8.031 kB / 0.9607 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.009532, allocations: 140.6 kB / 0.9608 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.009794, allocations: 233.2 kB / 0.961 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.009812, allocations: 21.03 kB / 0.9611 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.009838, allocations: 24.38 kB / 0.9611 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.0103, allocations: 0.5787 MB / 0.9616 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01031, allocations: 8.125 kB / 0.9616 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.01034, allocations: 16.38 kB / 0.9617 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.01037, allocations: 28.58 kB / 0.9617 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.01069, allocations: 326.3 kB / 0.962 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.01179, allocations: 1.509 MB / 0.9635 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.01202, allocations: 158.7 kB / 0.9636 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.01216, allocations: 96.8 kB / 0.9637 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.01217, allocations: 0 / 0.9637 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.01219, allocations: 38.5 kB / 0.9638 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.01219, allocations: 0 / 0.9638 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0003741/0.01256, allocations: 232 kB / 0.964 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.01259, allocations: 55.41 kB / 0.964 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.01274, allocations: 224 kB / 0.9642 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.01275, allocations: 37.69 kB / 0.9643 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.0129, allocations: 208.1 kB / 0.9645 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.01292, allocations: 51.59 kB / 0.9645 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.01297, allocations: 45.89 kB / 0.9646 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.01305, allocations: 330.8 kB / 0.9649 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.01311, allocations: 60.44 kB / 0.9649 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.0132, allocations: 144 kB / 0.9651 GB, free: 4.977 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.01337, allocations: 222.2 kB / 0.9653 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01337, allocations: 7.938 kB / 0.9653 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002476/0.01362, allocations: 258 kB / 0.9655 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01363, allocations: 4 kB / 0.9656 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.01364, allocations: 4.375 kB / 0.9656 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.01375, allocations: 24.84 kB / 0.9656 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01386, allocations: 55.91 kB / 0.9656 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000639/0.0145, allocations: 1.292 MB / 0.9669 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.01458, allocations: 27.88 kB / 0.9669 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.01459, allocations: 20.03 kB / 0.9669 GB, free: 2.922 MB / 0.9167 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.000101/0.01469, allocations: 166.4 kB / 0.9671 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.01471, allocations: 27.8 kB / 0.9671 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.01473, allocations: 25.45 kB / 0.9671 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01474, allocations: 3.938 kB / 0.9672 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.01474, allocations: 0 / 0.9672 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01474, allocations: 4 kB / 0.9672 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.01522, allocations: 0.5505 MB / 0.9677 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01522, allocations: 4 kB / 0.9677 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.01527, allocations: 23.92 kB / 0.9677 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.137e-05/0.01532, allocations: 24.84 kB / 0.9677 GB, free: 2.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.01533, allocations: 4 kB / 0.9677 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005332/0.01586, allocations: 1.296 MB / 0.969 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01586, allocations: 0 / 0.969 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.01606, allocations: 305.2 kB / 0.9693 GB, free: 288 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.01611, allocations: 35.83 kB / 0.9693 GB, free: 252 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.01612, allocations: 4 kB / 0.9693 GB, free: 248 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.0162, allocations: 12 kB / 0.9694 GB, free: 236 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.01622, allocations: 15.97 kB / 0.9694 GB, free: 220 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01623, allocations: 16.03 kB / 0.9694 GB, free: 204 kB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.01632, allocations: 157.6 kB / 0.9695 GB, free: 48 kB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01632, allocations: 0 / 0.9695 GB, free: 48 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000241/0.01656, allocations: 87.78 kB / 0.9696 GB, free: 15.96 MB / 0.9323 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 7.651e-05/0.01663, allocations: 104 kB / 0.9697 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.01692, allocations: 270.9 kB / 0.97 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01692, allocations: 0 / 0.97 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.01702, allocations: 182.5 kB / 0.9701 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.0173, allocations: 67.64 kB / 0.9702 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.01787, allocations: 0.5687 MB / 0.9708 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.01798, allocations: 186.1 kB / 0.9709 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.01802, allocations: 20.5 kB / 0.971 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of SimCode: time 4.81e-07/0.01802, allocations: 0 / 0.971 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of Templates: time 0.003862/0.02189, allocations: 4.351 MB / 0.9752 GB, free: 10.14 MB / 0.9323 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.005646507255733]