Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001228/0.001228, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001093/0.001093, allocations: 173 kB / 23.49 MB, free: 1.059 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.251/1.251, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.256/2.256, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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_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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.94e-05/4.104e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006724/0.006765, allocations: 6.187 MB / 0.8842 GB, free: 460 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004936/0.0117, allocations: 3.215 MB / 0.8874 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000787/0.01249, allocations: 43.62 kB / 0.8874 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.01433, allocations: 0.9569 MB / 0.8883 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.01585, allocations: 0.4892 MB / 0.8888 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.01718, allocations: 494.5 kB / 0.8893 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.01857, allocations: 1.123 MB / 0.8904 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008456/0.01942, allocations: 0.5022 MB / 0.8909 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009143/0.02033, allocations: 0.6194 MB / 0.8915 GB, free: 9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006916/0.02103, allocations: 430.8 kB / 0.8919 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.357e-05/0.0211, allocations: 60 kB / 0.892 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.02202, allocations: 446.8 kB / 0.8924 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.02229, allocations: 307.1 kB / 0.8927 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.02254, allocations: 275.3 kB / 0.8929 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.02371, allocations: 0.8681 MB / 0.8938 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.02372, allocations: 0 / 0.8938 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.444e-06/0.02372, allocations: 0 / 0.8938 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.02374, allocations: 0 / 0.8938 GB, free: 6.641 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001397/0.02513, allocations: 1.095 MB / 0.8949 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/0.0252, allocations: 12.03 kB / 0.8949 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.02642, allocations: 343.6 kB / 0.8952 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/0.02714, allocations: 0.5459 MB / 0.8957 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.02718, allocations: 45.69 kB / 0.8958 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.02726, allocations: 60.36 kB / 0.8958 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/0.0282, allocations: 0.9093 MB / 0.8967 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.02823, allocations: 4.125 kB / 0.8967 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.02827, allocations: 28.38 kB / 0.8967 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.782e-05/0.02836, allocations: 73.2 kB / 0.8968 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.02886, allocations: 335.2 kB / 0.8971 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.03252, allocations: 5.643 MB / 0.9026 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.03302, allocations: 259.8 kB / 0.9029 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.03348, allocations: 254.6 kB / 0.9031 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.03352, allocations: 11.94 kB / 0.9031 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.03355, allocations: 37.39 kB / 0.9032 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 5.811e-06/0.03356, allocations: 0 / 0.9032 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.002349/0.03591, allocations: 1.144 MB / 0.9043 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.03595, allocations: 59.41 kB / 0.9044 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.03632, allocations: 466.4 kB / 0.9048 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.03635, allocations: 37.7 kB / 0.9048 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.03659, allocations: 450.7 kB / 0.9053 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.0367, allocations: 154.7 kB / 0.9054 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.03682, allocations: 115.9 kB / 0.9055 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.03708, allocations: 0.5313 MB / 0.906 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.03723, allocations: 105.2 kB / 0.9061 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.03756, allocations: 404.7 kB / 0.9065 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.03806, allocations: 0.5493 MB / 0.9071 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.03807, allocations: 8 kB / 0.9071 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009634/0.03903, allocations: 0.722 MB / 0.9078 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/0.03906, allocations: 8 kB / 0.9078 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.03908, allocations: 8 kB / 0.9078 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.03979, allocations: 250.7 kB / 0.908 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.03999, allocations: 103.8 kB / 0.9081 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/0.04504, allocations: 7.717 MB / 0.9157 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.0454, allocations: 39.97 kB / 0.9157 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.04543, allocations: 28 kB / 0.9157 GB, free: 14.81 MB / 0.8855 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.0002749/0.04571, allocations: 192.3 kB / 0.9159 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.04579, allocations: 71.62 kB / 0.916 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/0.04663, allocations: 0.5633 MB / 0.9165 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.04664, allocations: 4 kB / 0.9165 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.04664, allocations: 8 kB / 0.9165 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.04665, allocations: 11.86 kB / 0.9166 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.04808, allocations: 1.138 MB / 0.9177 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.04808, allocations: 4 kB / 0.9177 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.04818, allocations: 39.91 kB / 0.9177 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/0.04876, allocations: 250.7 kB / 0.918 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.04878, allocations: 8 kB / 0.918 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/0.05333, allocations: 7.71 MB / 0.9255 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.05333, allocations: 4 kB / 0.9255 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009931/0.05433, allocations: 0.7395 MB / 0.9262 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.05452, allocations: 95.56 kB / 0.9263 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.05456, allocations: 19.88 kB / 0.9263 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.05469, allocations: 23.97 kB / 0.9263 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.05484, allocations: 39.92 kB / 0.9264 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.05486, allocations: 12 kB / 0.9264 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003349/0.05519, allocations: 290.8 kB / 0.9267 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.5e-07/0.05519, allocations: 4 kB / 0.9267 GB, free: 2.926 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008831/0.05608, allocations: 200 kB / 0.9269 GB, free: 2.73 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 (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.0002173/0.05629, allocations: 115.1 kB / 0.927 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.05774, allocations: 1.141 MB / 0.9281 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.05775, allocations: 0 / 0.9281 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.05862, allocations: 0.9607 MB / 0.929 GB, free: 372 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.05939, allocations: 192.3 kB / 0.9292 GB, free: 184 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.06176, allocations: 1.149 MB / 0.9303 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.06203, allocations: 218.2 kB / 0.9305 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002737/0.0623, allocations: 85 kB / 0.9306 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.06238, allocations: 32.5 kB / 0.9307 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of SimCode: time 2.815e-06/0.06238, allocations: 0 / 0.9307 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of Templates: time 0.01696/0.07934, allocations: 10.53 MB / 0.9409 GB, free: 4.281 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.335972082102671]