Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0009606/0.0009606, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001023/0.001023, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9418/0.9418, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.02/2.02, allocations: 429.5 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.253e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004531/0.004553, allocations: 4.729 MB / 0.884 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.006701, allocations: 1.689 MB / 0.8857 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.006951, allocations: 39.62 kB / 0.8857 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.0076, allocations: 206.5 kB / 0.8859 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005715/0.008172, allocations: 449.1 kB / 0.8863 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.008656, allocations: 371.2 kB / 0.8867 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008694/0.009526, allocations: 1.275 MB / 0.8879 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005677/0.01009, allocations: 0.5333 MB / 0.8885 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.01069, allocations: 0.6703 MB / 0.8891 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.01118, allocations: 0.4908 MB / 0.8896 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.01125, allocations: 64 kB / 0.8896 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.01143, allocations: 139.8 kB / 0.8898 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.01163, allocations: 331 kB / 0.8901 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.01185, allocations: 315.2 kB / 0.8904 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.01253, allocations: 0.7396 MB / 0.8911 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01253, allocations: 8 kB / 0.8911 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.82e-07/0.01253, allocations: 0 / 0.8911 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.01254, allocations: 0 / 0.8911 GB, free: 10.02 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001057/0.0136, allocations: 1.165 MB / 0.8923 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01363, allocations: 8.031 kB / 0.8923 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.01436, allocations: 279.9 kB / 0.8925 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.01491, allocations: 0.5316 MB / 0.8931 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.01494, allocations: 45.67 kB / 0.8931 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.01501, allocations: 68.36 kB / 0.8932 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/0.01573, allocations: 1.03 MB / 0.8942 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.01575, allocations: 4.125 kB / 0.8942 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.01579, allocations: 36.36 kB / 0.8942 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.835e-05/0.01589, allocations: 89.19 kB / 0.8943 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.01619, allocations: 288.5 kB / 0.8946 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.01879, allocations: 5.581 MB / 0.9 GB, free: 452 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.01914, allocations: 254.2 kB / 0.9003 GB, free: 184 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.01925, allocations: 117.1 kB / 0.9004 GB, free: 64 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.01927, allocations: 12.5 kB / 0.9004 GB, free: 52 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.01929, allocations: 41.89 kB / 0.9004 GB, free: 0 / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 1.312e-06/0.01929, allocations: 0 / 0.9004 GB, free: 0 / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001377/0.02067, allocations: 0.8889 MB / 0.9013 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.0207, allocations: 59.91 kB / 0.9014 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.02097, allocations: 0.5254 MB / 0.9019 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.021, allocations: 33.7 kB / 0.9019 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.02117, allocations: 478.5 kB / 0.9024 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.282e-05/0.02126, allocations: 186.4 kB / 0.9025 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.02137, allocations: 128.2 kB / 0.9027 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.0215, allocations: 0.5507 MB / 0.9032 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.02161, allocations: 85.94 kB / 0.9033 GB, free: 13 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.02191, allocations: 400.6 kB / 0.9037 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.02227, allocations: 0.531 MB / 0.9042 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.02227, allocations: 8 kB / 0.9042 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007742/0.02304, allocations: 0.6671 MB / 0.9048 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.02306, allocations: 8 kB / 0.9048 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.02307, allocations: 12 kB / 0.9049 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/0.02372, allocations: 298.9 kB / 0.9051 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.02394, allocations: 107.8 kB / 0.9052 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.02722, allocations: 7.48 MB / 0.9125 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.02743, allocations: 27.94 kB / 0.9126 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.02745, allocations: 23.98 kB / 0.9126 GB, free: 2.691 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.0276, allocations: 196.4 kB / 0.9128 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.02768, allocations: 83.56 kB / 0.9129 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/0.02824, allocations: 0.5023 MB / 0.9134 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02824, allocations: 4 kB / 0.9134 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.02824, allocations: 7.938 kB / 0.9134 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.02825, allocations: 3.984 kB / 0.9134 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/0.02924, allocations: 1.011 MB / 0.9144 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02924, allocations: 0 / 0.9144 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.02935, allocations: 48.05 kB / 0.9144 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.02993, allocations: 286.6 kB / 0.9147 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.02995, allocations: 12 kB / 0.9147 GB, free: 432 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/0.03301, allocations: 7.465 MB / 0.922 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.03301, allocations: 3.938 kB / 0.922 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/0.0336, allocations: 0.6855 MB / 0.9226 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.03371, allocations: 91.58 kB / 0.9227 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.03375, allocations: 11.94 kB / 0.9227 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.0339, allocations: 19.98 kB / 0.9228 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.03395, allocations: 43.8 kB / 0.9228 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.03397, allocations: 12 kB / 0.9228 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001551/0.03413, allocations: 322.7 kB / 0.9231 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.03413, allocations: 7.938 kB / 0.9231 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004455/0.03457, allocations: 220 kB / 0.9233 GB, free: 7.035 MB / 0.8855 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001033/0.03467, allocations: 115.2 kB / 0.9235 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008235/0.0355, allocations: 1.15 MB / 0.9246 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.0355, allocations: 4 kB / 0.9246 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.03613, allocations: 0.9465 MB / 0.9255 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.03668, allocations: 197.7 kB / 0.9257 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.03803, allocations: 1.263 MB / 0.9269 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.03816, allocations: 215.3 kB / 0.9271 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.03832, allocations: 69.5 kB / 0.9272 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.03865, allocations: 246.1 kB / 0.9274 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of SimCode: time 6.52e-07/0.03865, allocations: 0 / 0.9274 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of Templates: time 0.01306/0.0517, allocations: 12.31 MB / 0.9395 GB, free: 6.543 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.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.471559016034007]