Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001028/0.001028, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009974/0.0009974, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9263/0.9263, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.694/1.694, allocations: 359 MB / 0.6063 GB, free: 10.88 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_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.615e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003921/0.003937, allocations: 4.066 MB / 0.7923 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.005807, allocations: 1.536 MB / 0.7938 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.006019, allocations: 39.62 kB / 0.7938 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.006513, allocations: 199.7 kB / 0.794 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.006985, allocations: 409.5 kB / 0.7944 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.007404, allocations: 358.7 kB / 0.7947 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.008174, allocations: 1.139 MB / 0.7959 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.008698, allocations: 0.5022 MB / 0.7963 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006784/0.009377, allocations: 0.6118 MB / 0.7969 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.009815, allocations: 448.1 kB / 0.7974 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.009873, allocations: 56 kB / 0.7974 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.01005, allocations: 136.3 kB / 0.7976 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.01024, allocations: 308.8 kB / 0.7978 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.01043, allocations: 267.3 kB / 0.7981 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.01097, allocations: 0.6656 MB / 0.7988 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01097, allocations: 0 / 0.7988 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01098, allocations: 4 kB / 0.7988 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.01098, allocations: 0.5 kB / 0.7988 GB, free: 1.52 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009442/0.01193, allocations: 1.051 MB / 0.7998 GB, free: 444 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.01196, allocations: 9.406 kB / 0.7998 GB, free: 436 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006992/0.01266, allocations: 283.7 kB / 0.8001 GB, free: 152 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.01317, allocations: 0.5175 MB / 0.8006 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.0132, allocations: 48.2 kB / 0.8006 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.01327, allocations: 68.36 kB / 0.8007 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008531/0.01412, allocations: 0.8506 MB / 0.8015 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.01415, allocations: 12.08 kB / 0.8015 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.01419, allocations: 28.36 kB / 0.8015 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/0.01425, allocations: 73.2 kB / 0.8016 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.01453, allocations: 284.8 kB / 0.8019 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.01733, allocations: 5.512 MB / 0.8073 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.01764, allocations: 238.2 kB / 0.8075 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.01795, allocations: 222.2 kB / 0.8077 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.01798, allocations: 12 kB / 0.8077 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.018, allocations: 37.33 kB / 0.8078 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.018, allocations: 0 / 0.8078 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.001673/0.01967, allocations: 0.9649 MB / 0.8087 GB, free: 6.879 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.0197, allocations: 55.41 kB / 0.8088 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.01994, allocations: 462.2 kB / 0.8092 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01996, allocations: 37.7 kB / 0.8092 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.02014, allocations: 450.6 kB / 0.8097 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/0.02023, allocations: 158.7 kB / 0.8098 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.02034, allocations: 115.9 kB / 0.8099 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.02048, allocations: 0.5468 MB / 0.8105 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.02057, allocations: 81.23 kB / 0.8105 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.02095, allocations: 384.7 kB / 0.8109 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.02132, allocations: 0.5171 MB / 0.8114 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.02132, allocations: 11.94 kB / 0.8114 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007377/0.02206, allocations: 0.6519 MB / 0.8121 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.02208, allocations: 8 kB / 0.8121 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.02208, allocations: 8 kB / 0.8121 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.02262, allocations: 246.5 kB / 0.8123 GB, free: 2.828 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.02277, allocations: 87.84 kB / 0.8124 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/0.02648, allocations: 7.566 MB / 0.8198 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.02663, allocations: 20 kB / 0.8198 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.02666, allocations: 23.98 kB / 0.8198 GB, free: 10.67 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.02679, allocations: 192.4 kB / 0.82 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.02686, allocations: 75.56 kB / 0.8201 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006168/0.02748, allocations: 0.5125 MB / 0.8206 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.02748, allocations: 4 kB / 0.8206 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.02748, allocations: 4.188 kB / 0.8206 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.02749, allocations: 4 kB / 0.8206 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.0285, allocations: 1.009 MB / 0.8216 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.0285, allocations: 3.938 kB / 0.8216 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.02857, allocations: 35.92 kB / 0.8216 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.02904, allocations: 238.7 kB / 0.8218 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.02905, allocations: 8 kB / 0.8218 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/0.03232, allocations: 7.557 MB / 0.8292 GB, free: 464 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03232, allocations: 4 kB / 0.8292 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.03296, allocations: 0.6935 MB / 0.8299 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.03306, allocations: 87.5 kB / 0.83 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.0331, allocations: 12 kB / 0.83 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.03321, allocations: 8 kB / 0.83 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.03328, allocations: 47.61 kB / 0.8301 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.0333, allocations: 12 kB / 0.8301 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001275/0.03342, allocations: 282.7 kB / 0.8303 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.03342, allocations: 4 kB / 0.8303 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004508/0.03387, allocations: 200 kB / 0.8305 GB, free: 15.06 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001093/0.03398, allocations: 103.2 kB / 0.8306 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008851/0.03487, allocations: 1.117 MB / 0.8317 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.03487, allocations: 0 / 0.8317 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.03541, allocations: 0.925 MB / 0.8326 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.03595, allocations: 197.8 kB / 0.8328 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.03717, allocations: 1.163 MB / 0.8339 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.03729, allocations: 202.2 kB / 0.8341 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.03742, allocations: 69.03 kB / 0.8342 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.03763, allocations: 202.1 kB / 0.8344 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of SimCode: time 8.41e-07/0.03763, allocations: 0 / 0.8344 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of Templates: time 0.01265/0.05028, allocations: 11.27 MB / 0.8454 GB, free: 15.82 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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: 4.933896721806377]