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.001789/0.001789, allocations: 84.28 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002494/0.002494, allocations: 170.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.565/1.565, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.81/2.81, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.844e-06/1.844e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.704e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006396/0.006433, allocations: 3.746 MB / 0.9546 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00331/0.009743, allocations: 1.679 MB / 0.9562 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.009907, allocations: 7.938 kB / 0.9562 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.0115, allocations: 0.4979 MB / 0.9567 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.0121, allocations: 234.6 kB / 0.957 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.01272, allocations: 224.9 kB / 0.9572 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.0134, allocations: 486.2 kB / 0.9576 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005931/0.01399, allocations: 289.4 kB / 0.9579 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.01436, allocations: 279.2 kB / 0.9582 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.01481, allocations: 195.5 kB / 0.9584 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.01487, allocations: 28 kB / 0.9584 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.0153, allocations: 227.4 kB / 0.9586 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.01547, allocations: 135.6 kB / 0.9587 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.01564, allocations: 119.7 kB / 0.9588 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007151/0.01635, allocations: 0.5101 MB / 0.9593 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.01636, allocations: 0 / 0.9593 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.01636, allocations: 0 / 0.9593 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.01637, allocations: 4 kB / 0.9593 GB, free: 2.945 MB / 0.8575 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.001144/0.01751, allocations: 0.5634 MB / 0.9599 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.01756, allocations: 16.02 kB / 0.9599 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/0.01854, allocations: 132.6 kB / 0.96 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.01897, allocations: 233.2 kB / 0.9603 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.01901, allocations: 29.02 kB / 0.9603 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.01905, allocations: 24.38 kB / 0.9603 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/0.01992, allocations: 0.5787 MB / 0.9609 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.01993, allocations: 192 / 0.9609 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.01997, allocations: 12.38 kB / 0.9609 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.02003, allocations: 36.52 kB / 0.9609 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.02057, allocations: 330.2 kB / 0.9612 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.02268, allocations: 1.505 MB / 0.9627 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.02305, allocations: 162.7 kB / 0.9629 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.0233, allocations: 96.8 kB / 0.963 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.02331, allocations: 7.984 kB / 0.963 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.02335, allocations: 38.5 kB / 0.963 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.02335, allocations: 0 / 0.963 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0005923/0.02394, allocations: 230.2 kB / 0.9632 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.024, allocations: 55.41 kB / 0.9633 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.02425, allocations: 228 kB / 0.9635 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.02427, allocations: 25.7 kB / 0.9635 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.02443, allocations: 220.1 kB / 0.9637 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.02448, allocations: 43.61 kB / 0.9638 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.02456, allocations: 53.89 kB / 0.9638 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.02472, allocations: 330.8 kB / 0.9641 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.02482, allocations: 56.44 kB / 0.9642 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.025, allocations: 141.5 kB / 0.9643 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.02531, allocations: 221.5 kB / 0.9645 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.02531, allocations: 0 / 0.9645 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004616/0.02577, allocations: 266.3 kB / 0.9648 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.02579, allocations: 8 kB / 0.9648 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.0258, allocations: 7.984 kB / 0.9648 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.026, allocations: 24.84 kB / 0.9648 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.02619, allocations: 51.92 kB / 0.9649 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.02743, allocations: 1.292 MB / 0.9661 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.02759, allocations: 27.78 kB / 0.9662 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.02761, allocations: 8 kB / 0.9662 GB, free: 11.49 MB / 0.8731 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.0001882/0.02779, allocations: 165.8 kB / 0.9663 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.02784, allocations: 19.91 kB / 0.9663 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.02789, allocations: 29.39 kB / 0.9664 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.02789, allocations: 3.938 kB / 0.9664 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.0279, allocations: 0 / 0.9664 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.0279, allocations: 8.094 kB / 0.9664 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008836/0.02879, allocations: 0.5621 MB / 0.9669 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.02879, allocations: 4 kB / 0.9669 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.02888, allocations: 19.98 kB / 0.967 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.262e-05/0.02896, allocations: 24.84 kB / 0.967 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.02897, allocations: 4 kB / 0.967 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.0301, allocations: 1.3 MB / 0.9683 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.03011, allocations: 7.922 kB / 0.9683 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.03048, allocations: 309.2 kB / 0.9686 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.03056, allocations: 31.83 kB / 0.9686 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.03059, allocations: 8 kB / 0.9686 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.03075, allocations: 16.14 kB / 0.9686 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.03079, allocations: 11.98 kB / 0.9686 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.0308, allocations: 8 kB / 0.9686 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001637/0.03096, allocations: 161.6 kB / 0.9688 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.03096, allocations: 0 / 0.9688 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004308/0.0314, allocations: 83.78 kB / 0.9689 GB, free: 8.527 MB / 0.8731 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.0001388/0.03153, allocations: 99.19 kB / 0.969 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.03204, allocations: 275.7 kB / 0.9692 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.03205, allocations: 0 / 0.9692 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.03228, allocations: 178.6 kB / 0.9694 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.03276, allocations: 53.77 kB / 0.9694 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009834/0.03374, allocations: 0.5235 MB / 0.97 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.03395, allocations: 182.1 kB / 0.9701 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.03407, allocations: 37.92 kB / 0.9702 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.03413, allocations: 20.5 kB / 0.9702 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.03413, allocations: 288 / 0.9702 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of Templates: time 0.006906/0.04103, allocations: 2.434 MB / 0.9726 GB, free: 4.711 MB / 0.8731 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: 8.7919997908175]