Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009416/0.0009416, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.0008984/0.0008984, allocations: 161 kB / 23.82 MB, free: 0.7695 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.8986/0.8986, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.735/1.735, allocations: 359 MB / 0.6052 GB, free: 11.02 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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.022e-05, allocations: 13.38 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004345/0.004366, allocations: 4.812 MB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.006724, allocations: 1.692 MB / 0.7935 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.007017, allocations: 36.72 kB / 0.7935 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.007568, allocations: 210.4 kB / 0.7937 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005979/0.008165, allocations: 450.9 kB / 0.7941 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.008716, allocations: 376.9 kB / 0.7945 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009361/0.009652, allocations: 1.267 MB / 0.7957 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006178/0.01027, allocations: 0.5387 MB / 0.7962 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006527/0.01092, allocations: 0.6663 MB / 0.7969 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.01146, allocations: 495.2 kB / 0.7974 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.01154, allocations: 69.38 kB / 0.7974 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.01176, allocations: 143.8 kB / 0.7976 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.0121, allocations: 331 kB / 0.7979 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.01233, allocations: 304.4 kB / 0.7982 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.01295, allocations: 0.7396 MB / 0.7989 GB, free: 416 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01295, allocations: 0 / 0.7989 GB, free: 416 kB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.01295, allocations: 1.375 kB / 0.7989 GB, free: 416 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.01296, allocations: 0 / 0.7989 GB, free: 416 kB / 0.7448 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.001111/0.01407, allocations: 1.181 MB / 0.8001 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.01411, allocations: 8.031 kB / 0.8001 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007727/0.01488, allocations: 315.8 kB / 0.8004 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.01544, allocations: 0.5363 MB / 0.8009 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.01547, allocations: 41.69 kB / 0.8009 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.01554, allocations: 76.3 kB / 0.801 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.01636, allocations: 1.081 MB / 0.8021 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.01638, allocations: 12.08 kB / 0.8021 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.01643, allocations: 33.45 kB / 0.8021 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-05/0.01652, allocations: 85.19 kB / 0.8022 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.01699, allocations: 360.7 kB / 0.8025 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.02013, allocations: 5.713 MB / 0.8081 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.0206, allocations: 286.8 kB / 0.8084 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.02077, allocations: 130.2 kB / 0.8085 GB, free: 6.102 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.02079, allocations: 8.5 kB / 0.8085 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.02082, allocations: 51 kB / 0.8086 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 1.513e-06/0.02082, allocations: 0 / 0.8086 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.001847/0.02267, allocations: 1.078 MB / 0.8096 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.02269, allocations: 59.91 kB / 0.8097 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.02305, allocations: 0.5297 MB / 0.8102 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.02307, allocations: 37.7 kB / 0.8102 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.02327, allocations: 474.6 kB / 0.8107 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/0.02336, allocations: 182.5 kB / 0.8108 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.02348, allocations: 128.2 kB / 0.811 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.02361, allocations: 0.543 MB / 0.8115 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.02395, allocations: 117.9 kB / 0.8116 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.02425, allocations: 424.6 kB / 0.812 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.02477, allocations: 0.5819 MB / 0.8126 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.02478, allocations: 3.938 kB / 0.8126 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008636/0.02564, allocations: 0.7332 MB / 0.8133 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.02566, allocations: 10.59 kB / 0.8133 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.02567, allocations: 8 kB / 0.8133 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007239/0.02639, allocations: 310.4 kB / 0.8136 GB, free: 484 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.02664, allocations: 127.7 kB / 0.8137 GB, free: 356 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.03041, allocations: 7.618 MB / 0.8212 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.03065, allocations: 39.97 kB / 0.8212 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.03068, allocations: 28 kB / 0.8212 GB, free: 8.168 MB / 0.7761 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.0001506/0.03083, allocations: 200.4 kB / 0.8214 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.03091, allocations: 83.58 kB / 0.8215 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.03157, allocations: 0.5493 MB / 0.822 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.03157, allocations: 4 kB / 0.8221 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.03157, allocations: 4 kB / 0.8221 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.03158, allocations: 3.984 kB / 0.8221 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.03275, allocations: 1.173 MB / 0.8232 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03276, allocations: 0 / 0.8232 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.03289, allocations: 59.89 kB / 0.8233 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000633/0.03352, allocations: 294.6 kB / 0.8235 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.03355, allocations: 15.98 kB / 0.8236 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.03712, allocations: 7.603 MB / 0.831 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.03712, allocations: 8.062 kB / 0.831 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.03784, allocations: 0.7247 MB / 0.8317 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.03798, allocations: 111.5 kB / 0.8318 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.03801, allocations: 11.94 kB / 0.8318 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.03818, allocations: 27.97 kB / 0.8318 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.03828, allocations: 51.8 kB / 0.8319 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.0383, allocations: 16 kB / 0.8319 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003984/0.0387, allocations: 346.8 kB / 0.8322 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4e-08/0.0387, allocations: 0 / 0.8322 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005241/0.03922, allocations: 220 kB / 0.8324 GB, free: 12.01 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 (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.0001116/0.03933, allocations: 111.2 kB / 0.8326 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.04035, allocations: 1.19 MB / 0.8337 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.04035, allocations: 4 kB / 0.8337 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.04094, allocations: 0.9612 MB / 0.8347 GB, free: 9.594 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.04149, allocations: 200.4 kB / 0.8349 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.04305, allocations: 1.264 MB / 0.8361 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.0432, allocations: 211.3 kB / 0.8363 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.0434, allocations: 97.44 kB / 0.8364 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.04347, allocations: 40.5 kB / 0.8364 GB, free: 7.699 MB / 0.7917 GB Notification: Performance of SimCode: time 1.042e-06/0.04347, allocations: 0 / 0.8364 GB, free: 7.699 MB / 0.7917 GB Notification: Performance of Templates: time 0.01458/0.05806, allocations: 11.98 MB / 0.8481 GB, free: 11.97 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.031660485081375]