Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001184/0.001184, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001665/0.001665, allocations: 167.8 kB / 24.87 MB, free: 9.277 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.889/1.889, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8127 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.746e-05, allocations: 7.75 kB / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004887/0.004914, allocations: 2.958 MB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.007198, allocations: 1.115 MB / 0.8167 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.007431, allocations: 15.88 kB / 0.8167 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.00803, allocations: 116.5 kB / 0.8169 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.008538, allocations: 199.9 kB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.008996, allocations: 160.9 kB / 0.8172 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.009682, allocations: 495.9 kB / 0.8177 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005595/0.01024, allocations: 285.5 kB / 0.8179 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.01065, allocations: 271.4 kB / 0.8182 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.01112, allocations: 204.7 kB / 0.8184 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.01118, allocations: 32 kB / 0.8184 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.01143, allocations: 95.73 kB / 0.8185 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.01158, allocations: 141.5 kB / 0.8187 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.01174, allocations: 119.7 kB / 0.8188 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.01227, allocations: 330.9 kB / 0.8191 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01227, allocations: 0 / 0.8191 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.754e-06/0.01228, allocations: 0 / 0.8191 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.01229, allocations: 0 / 0.8191 GB, free: 11.02 MB / 0.7761 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.001162/0.01345, allocations: 0.6502 MB / 0.8197 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.01349, allocations: 12.03 kB / 0.8197 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009007/0.01439, allocations: 173.7 kB / 0.8199 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.01476, allocations: 226.8 kB / 0.8201 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.01479, allocations: 21.03 kB / 0.8201 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.01484, allocations: 32.36 kB / 0.8202 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.01537, allocations: 445.5 kB / 0.8206 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.01539, allocations: 4.188 kB / 0.8206 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.01543, allocations: 13.12 kB / 0.8206 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.01549, allocations: 32.58 kB / 0.8206 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.01574, allocations: 119 kB / 0.8207 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.01752, allocations: 1.857 MB / 0.8226 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.01777, allocations: 107.2 kB / 0.8227 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.01793, allocations: 65.62 kB / 0.8227 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.01794, allocations: 4 kB / 0.8227 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.01797, allocations: 41.38 kB / 0.8228 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 2.385e-06/0.01797, allocations: 0 / 0.8228 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0004435/0.01842, allocations: 150.9 kB / 0.8229 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.01845, allocations: 55.39 kB / 0.823 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.01866, allocations: 271.6 kB / 0.8232 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01868, allocations: 29.7 kB / 0.8233 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.01883, allocations: 258.9 kB / 0.8235 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.01887, allocations: 52.45 kB / 0.8235 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.01895, allocations: 55.55 kB / 0.8236 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01911, allocations: 0.504 MB / 0.8241 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.01916, allocations: 18.17 kB / 0.8241 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.01929, allocations: 145.8 kB / 0.8243 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.0195, allocations: 190 kB / 0.8244 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.0195, allocations: 0 / 0.8244 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003525/0.01985, allocations: 199.1 kB / 0.8246 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01987, allocations: 6.094 kB / 0.8246 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.01988, allocations: 4 kB / 0.8246 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.02009, allocations: 40.59 kB / 0.8247 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.02025, allocations: 45.05 kB / 0.8247 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.02133, allocations: 1.719 MB / 0.8264 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.02148, allocations: 27.78 kB / 0.8264 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.0215, allocations: 12 kB / 0.8264 GB, free: 2.977 MB / 0.7761 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.0003154/0.02181, allocations: 174.3 kB / 0.8266 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.02187, allocations: 27.86 kB / 0.8266 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.02191, allocations: 25.47 kB / 0.8266 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02191, allocations: 7.875 kB / 0.8267 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.02191, allocations: 1.531 kB / 0.8267 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.02192, allocations: 7.922 kB / 0.8267 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007634/0.02268, allocations: 0.554 MB / 0.8272 GB, free: 2.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.02269, allocations: 3.984 kB / 0.8272 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.02277, allocations: 23.94 kB / 0.8272 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/0.02293, allocations: 35.66 kB / 0.8273 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.02294, allocations: 4 kB / 0.8273 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009519/0.02389, allocations: 1.717 MB / 0.8289 GB, free: 204 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.02389, allocations: 0 / 0.8289 GB, free: 204 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.02422, allocations: 337.4 kB / 0.8293 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.02429, allocations: 35.78 kB / 0.8293 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.02431, allocations: 0 / 0.8293 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.02447, allocations: 20.06 kB / 0.8293 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.0245, allocations: 23.91 kB / 0.8293 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.02451, allocations: 4 kB / 0.8293 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001263/0.02464, allocations: 185.5 kB / 0.8295 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2e-07/0.02464, allocations: 0 / 0.8295 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004442/0.02509, allocations: 75.84 kB / 0.8296 GB, free: 15.48 MB / 0.7917 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.0001312/0.02522, allocations: 103.2 kB / 0.8297 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.0256, allocations: 277.3 kB / 0.83 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.0256, allocations: 0 / 0.83 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.0258, allocations: 217.4 kB / 0.8302 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.02628, allocations: 63.83 kB / 0.8302 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.0274, allocations: 0.5359 MB / 0.8308 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.0275, allocations: 108.3 kB / 0.8309 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000109/0.02761, allocations: 25.94 kB / 0.8309 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.02777, allocations: 114.2 kB / 0.831 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of SimCode: time 8.52e-07/0.02777, allocations: 4 kB / 0.831 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of Templates: time 0.006878/0.03464, allocations: 2.688 MB / 0.8336 GB, free: 11.32 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.104723424185067]