Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.000908/0.000908, allocations: 73.88 kB / 20.65 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.001004/0.001004, allocations: 169 kB / 24.06 MB, free: 452 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.9728/0.9728, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.024/2.024, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8794 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.19e-05, allocations: 6.438 kB / 0.8794 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003428/0.00345, allocations: 3.243 MB / 0.8826 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.005371, allocations: 1.189 MB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.005606, allocations: 23.75 kB / 0.8837 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.006112, allocations: 127.1 kB / 0.8839 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006153/0.006727, allocations: 285.5 kB / 0.8841 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.007279, allocations: 220.7 kB / 0.8843 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0009683/0.008247, allocations: 0.7106 MB / 0.885 GB, free: 120 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.008709, allocations: 230 kB / 0.8853 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006505/0.00936, allocations: 375.1 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.009823, allocations: 255.3 kB / 0.8859 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.009873, allocations: 28 kB / 0.8859 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.01012, allocations: 99.73 kB / 0.886 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.01028, allocations: 147.5 kB / 0.8861 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.01044, allocations: 155.5 kB / 0.8863 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.01107, allocations: 406.5 kB / 0.8867 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.01108, allocations: 4 kB / 0.8867 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01108, allocations: 0 / 0.8867 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.01109, allocations: 4 kB / 0.8867 GB, free: 14.45 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009601/0.01205, allocations: 0.7798 MB / 0.8874 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.0121, allocations: 8.031 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.0129, allocations: 212.2 kB / 0.8876 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.01343, allocations: 378.8 kB / 0.888 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.01346, allocations: 29.36 kB / 0.888 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.01351, allocations: 40.36 kB / 0.8881 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.01405, allocations: 0.5901 MB / 0.8886 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.01407, allocations: 8.125 kB / 0.8886 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.0141, allocations: 12.38 kB / 0.8887 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/0.01417, allocations: 55.89 kB / 0.8887 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.01443, allocations: 209.1 kB / 0.8889 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.01691, allocations: 4.159 MB / 0.893 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.01773, allocations: 437 kB / 0.8934 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.01782, allocations: 66.98 kB / 0.8935 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.01784, allocations: 7.984 kB / 0.8935 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.01788, allocations: 45.33 kB / 0.8935 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 4.198e-06/0.01788, allocations: 0 / 0.8935 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001085/0.01897, allocations: 489.2 kB / 0.894 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.01902, allocations: 106.8 kB / 0.8941 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.0193, allocations: 418.2 kB / 0.8945 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.01932, allocations: 29.7 kB / 0.8945 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.0195, allocations: 338.8 kB / 0.8948 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.0196, allocations: 126.9 kB / 0.8949 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01971, allocations: 99.92 kB / 0.895 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.01988, allocations: 0.5234 MB / 0.8956 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.01997, allocations: 69.19 kB / 0.8956 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.0202, allocations: 361 kB / 0.896 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.02056, allocations: 470.1 kB / 0.8964 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02056, allocations: 0 / 0.8964 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005614/0.02112, allocations: 479.8 kB / 0.8969 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.02115, allocations: 8 kB / 0.8969 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.02116, allocations: 4 kB / 0.8969 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.02141, allocations: 83.56 kB / 0.897 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.02163, allocations: 99.83 kB / 0.8971 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.0244, allocations: 5.172 MB / 0.9021 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.0246, allocations: 16 kB / 0.9021 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.02463, allocations: 24.2 kB / 0.9021 GB, free: 13.45 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.0248, allocations: 200.2 kB / 0.9023 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.02489, allocations: 59.72 kB / 0.9024 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.0253, allocations: 307.6 kB / 0.9027 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.0253, allocations: 4 kB / 0.9027 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.02531, allocations: 7.938 kB / 0.9027 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.02531, allocations: 0 / 0.9027 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.02626, allocations: 0.9805 MB / 0.9037 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.02626, allocations: 4 kB / 0.9037 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.02638, allocations: 51.91 kB / 0.9037 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.02653, allocations: 83.16 kB / 0.9038 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.02655, allocations: 11.98 kB / 0.9038 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.02846, allocations: 5.165 MB / 0.9088 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.02847, allocations: 4 kB / 0.9088 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.02892, allocations: 0.7501 MB / 0.9096 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/0.02901, allocations: 67.62 kB / 0.9096 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.02904, allocations: 19.94 kB / 0.9097 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.02918, allocations: 4 kB / 0.9097 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.02923, allocations: 43.77 kB / 0.9097 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.02924, allocations: 12 kB / 0.9097 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001181/0.02936, allocations: 255 kB / 0.91 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.02936, allocations: 0 / 0.91 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004442/0.0298, allocations: 124 kB / 0.9101 GB, free: 4.773 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.02992, allocations: 107.2 kB / 0.9102 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006987/0.03061, allocations: 0.7684 MB / 0.9109 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.03062, allocations: 0 / 0.9109 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.03101, allocations: 0.6117 MB / 0.9115 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.03156, allocations: 141 kB / 0.9117 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.03261, allocations: 0.8535 MB / 0.9125 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03271, allocations: 145.6 kB / 0.9126 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.03285, allocations: 52.41 kB / 0.9127 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.03304, allocations: 178.1 kB / 0.9129 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/0.03304, allocations: 0 / 0.9129 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of Templates: time 0.009174/0.04222, allocations: 6.465 MB / 0.9192 GB, free: 11.38 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.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.359039236791432]