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.000907/0.000907, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001477/0.001477, allocations: 165 kB / 23.82 MB, free: 0.7461 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.97/0.97, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.775/1.775, allocations: 359 MB / 0.6052 GB, free: 10.98 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.844e-06/1.844e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.954e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004178/0.004207, allocations: 4.138 MB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.006699, allocations: 1.542 MB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.00706, allocations: 39.62 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.007706, allocations: 194.6 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006621/0.008369, allocations: 406.4 kB / 0.7932 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.008971, allocations: 364.4 kB / 0.7936 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.01007, allocations: 1.139 MB / 0.7947 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007199/0.01079, allocations: 0.5075 MB / 0.7952 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007552/0.01155, allocations: 0.5962 MB / 0.7958 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.01206, allocations: 443.3 kB / 0.7962 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.01214, allocations: 56.56 kB / 0.7963 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.0124, allocations: 132.3 kB / 0.7964 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.01264, allocations: 311.1 kB / 0.7967 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.01287, allocations: 272.2 kB / 0.7969 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.01357, allocations: 0.6772 MB / 0.7976 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01358, allocations: 0.875 kB / 0.7976 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/0.01358, allocations: 0 / 0.7976 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.01359, allocations: 0.5312 kB / 0.7976 GB, free: 1.719 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.001135/0.01473, allocations: 1.051 MB / 0.7986 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.01478, allocations: 8.031 kB / 0.7986 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009955/0.01577, allocations: 336.3 kB / 0.799 GB, free: 304 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.01641, allocations: 0.5439 MB / 0.7995 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.01644, allocations: 45.67 kB / 0.7995 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.01652, allocations: 68.33 kB / 0.7996 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008221/0.01734, allocations: 0.8975 MB / 0.8005 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.01737, allocations: 9.344 kB / 0.8005 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.01742, allocations: 32.36 kB / 0.8005 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.142e-05/0.01749, allocations: 69.2 kB / 0.8006 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.01803, allocations: 342.3 kB / 0.8009 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.02118, allocations: 5.638 MB / 0.8064 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.02162, allocations: 262 kB / 0.8067 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.02203, allocations: 250.1 kB / 0.8069 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.02207, allocations: 9.344 kB / 0.8069 GB, free: 7.758 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.0221, allocations: 41.39 kB / 0.807 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.0221, allocations: 0 / 0.807 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.002256/0.02435, allocations: 1.14 MB / 0.8081 GB, free: 6.543 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.02439, allocations: 59.41 kB / 0.8081 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.02469, allocations: 470.4 kB / 0.8086 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.02472, allocations: 29.7 kB / 0.8086 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.0249, allocations: 442.7 kB / 0.809 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.02499, allocations: 154.7 kB / 0.8092 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.02511, allocations: 119.9 kB / 0.8093 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.02526, allocations: 0.5313 MB / 0.8098 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.02541, allocations: 105.2 kB / 0.8099 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.02569, allocations: 408.7 kB / 0.8103 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.02619, allocations: 0.5601 MB / 0.8108 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.02619, allocations: 0 / 0.8108 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009549/0.02714, allocations: 0.7175 MB / 0.8115 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.02717, allocations: 8.875 kB / 0.8115 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.02718, allocations: 8 kB / 0.8116 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000679/0.02786, allocations: 262.4 kB / 0.8118 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.02806, allocations: 107.8 kB / 0.8119 GB, free: 2.242 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004564/0.03263, allocations: 7.71 MB / 0.8194 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.03293, allocations: 31.97 kB / 0.8195 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.03296, allocations: 24 kB / 0.8195 GB, free: 9.984 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.0002144/0.03317, allocations: 200.3 kB / 0.8197 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.03324, allocations: 67.67 kB / 0.8197 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.03404, allocations: 0.5671 MB / 0.8203 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.03404, allocations: 11.94 kB / 0.8203 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.03405, allocations: 4 kB / 0.8203 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.03405, allocations: 3.938 kB / 0.8203 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.03541, allocations: 1.141 MB / 0.8214 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.03541, allocations: 3.984 kB / 0.8214 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.03551, allocations: 44.09 kB / 0.8215 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006388/0.03615, allocations: 254.7 kB / 0.8217 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.03618, allocations: 12.06 kB / 0.8217 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003956/0.04013, allocations: 7.701 MB / 0.8293 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.04013, allocations: 7.938 kB / 0.8293 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.04097, allocations: 0.735 MB / 0.83 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.04112, allocations: 103.5 kB / 0.8301 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.04115, allocations: 12 kB / 0.8301 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.04129, allocations: 19.97 kB / 0.8301 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.04138, allocations: 47.67 kB / 0.8302 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.0414, allocations: 8 kB / 0.8302 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001948/0.04159, allocations: 294.8 kB / 0.8304 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.04159, allocations: 3.938 kB / 0.8304 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005777/0.04217, allocations: 196 kB / 0.8306 GB, free: 13.88 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.000128/0.0423, allocations: 115.2 kB / 0.8307 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.04338, allocations: 1.141 MB / 0.8319 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.04338, allocations: 0 / 0.8319 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006255/0.044, allocations: 0.9535 MB / 0.8328 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.04461, allocations: 199.7 kB / 0.833 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.04617, allocations: 1.151 MB / 0.8341 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.04633, allocations: 202.2 kB / 0.8343 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.04651, allocations: 88.98 kB / 0.8344 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.04657, allocations: 32.5 kB / 0.8344 GB, free: 9.789 MB / 0.7917 GB Notification: Performance of SimCode: time 9.82e-07/0.04657, allocations: 0 / 0.8344 GB, free: 9.789 MB / 0.7917 GB Notification: Performance of Templates: time 0.0131/0.05967, allocations: 10.53 MB / 0.8447 GB, free: 15.48 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: 5.20868947962299]