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.0009348/0.0009348, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009334/0.0009334, allocations: 177 kB / 23.36 MB, free: 1.129 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.451/2.451, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.553e-06/1.553e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.575e-05, allocations: 8.5 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003626/0.003652, allocations: 3.286 MB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.005593, allocations: 1.216 MB / 0.843 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.005804, allocations: 27.75 kB / 0.843 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.006306, allocations: 127.1 kB / 0.8432 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.006744, allocations: 290.1 kB / 0.8434 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.007083, allocations: 215.5 kB / 0.8437 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007009/0.007784, allocations: 0.7101 MB / 0.8443 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.008088, allocations: 250 kB / 0.8446 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.008511, allocations: 375 kB / 0.8449 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.008843, allocations: 247.3 kB / 0.8452 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.008886, allocations: 32 kB / 0.8452 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.009075, allocations: 95.8 kB / 0.8453 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.009184, allocations: 147.5 kB / 0.8454 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.009298, allocations: 159.5 kB / 0.8456 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.009685, allocations: 398.5 kB / 0.846 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.009689, allocations: 0 / 0.846 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.552e-06/0.009691, allocations: 4 kB / 0.846 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.009696, allocations: 4 kB / 0.846 GB, free: 6.613 MB / 0.8073 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.0006337/0.01033, allocations: 0.6471 MB / 0.8466 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.01036, allocations: 8.031 kB / 0.8466 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.01109, allocations: 204.5 kB / 0.8468 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.01151, allocations: 373.1 kB / 0.8472 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.01153, allocations: 21.38 kB / 0.8472 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.01158, allocations: 36.36 kB / 0.8472 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.01199, allocations: 0.5262 MB / 0.8477 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.01201, allocations: 8.125 kB / 0.8477 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.01204, allocations: 16.36 kB / 0.8478 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/0.01209, allocations: 55.91 kB / 0.8478 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.0123, allocations: 187 kB / 0.848 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.01383, allocations: 2.82 MB / 0.8507 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.01472, allocations: 0.5114 MB / 0.8512 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.01479, allocations: 58.56 kB / 0.8513 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.01481, allocations: 7.938 kB / 0.8513 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.01484, allocations: 46.48 kB / 0.8514 GB, free: 0.7812 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.01485, allocations: 0 / 0.8514 GB, free: 0.7812 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0008184/0.01566, allocations: 436.7 kB / 0.8518 GB, free: 344 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.0157, allocations: 106.8 kB / 0.8519 GB, free: 212 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.01591, allocations: 355.1 kB / 0.8522 GB, free: 15.85 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.01593, allocations: 29.7 kB / 0.8522 GB, free: 15.81 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01603, allocations: 260.7 kB / 0.8525 GB, free: 15.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.01609, allocations: 126.9 kB / 0.8526 GB, free: 15.43 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.01618, allocations: 98.25 kB / 0.8527 GB, free: 15.33 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.01628, allocations: 350.7 kB / 0.853 GB, free: 14.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.01635, allocations: 53.28 kB / 0.8531 GB, free: 14.92 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.01651, allocations: 260.2 kB / 0.8533 GB, free: 14.58 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.01678, allocations: 376.2 kB / 0.8537 GB, free: 14.12 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01678, allocations: 4 kB / 0.8537 GB, free: 14.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004169/0.0172, allocations: 384 kB / 0.8541 GB, free: 13.72 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.01722, allocations: 8 kB / 0.8541 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.01723, allocations: 8 kB / 0.8541 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.01743, allocations: 83.52 kB / 0.8542 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.01764, allocations: 111.8 kB / 0.8543 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.0195, allocations: 3.598 MB / 0.8578 GB, free: 9.609 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.01965, allocations: 16.25 kB / 0.8578 GB, free: 9.594 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.01967, allocations: 24 kB / 0.8578 GB, free: 9.57 MB / 0.823 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.000259/0.01993, allocations: 152.4 kB / 0.858 GB, free: 9.41 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.02, allocations: 35.97 kB / 0.858 GB, free: 9.375 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.02034, allocations: 279.9 kB / 0.8583 GB, free: 9.082 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.02035, allocations: 7.984 kB / 0.8583 GB, free: 9.074 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.02035, allocations: 0 / 0.8583 GB, free: 9.074 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02035, allocations: 0 / 0.8583 GB, free: 9.074 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007457/0.0211, allocations: 0.8779 MB / 0.8591 GB, free: 8.129 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.0211, allocations: 4 kB / 0.8591 GB, free: 8.125 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.02122, allocations: 51.91 kB / 0.8592 GB, free: 8.074 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.02138, allocations: 87.17 kB / 0.8593 GB, free: 7.977 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.02139, allocations: 8 kB / 0.8593 GB, free: 7.969 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.02314, allocations: 3.598 MB / 0.8628 GB, free: 4.078 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.02314, allocations: 0 / 0.8628 GB, free: 4.078 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.02354, allocations: 0.6708 MB / 0.8634 GB, free: 3.344 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.02362, allocations: 59.66 kB / 0.8635 GB, free: 3.285 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.02365, allocations: 12 kB / 0.8635 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.02379, allocations: 15.92 kB / 0.8635 GB, free: 3.258 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.02384, allocations: 35.83 kB / 0.8636 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.02386, allocations: 12 kB / 0.8636 GB, free: 3.211 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.69e-05/0.02395, allocations: 140.7 kB / 0.8637 GB, free: 3.078 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02395, allocations: 0 / 0.8637 GB, free: 3.078 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004399/0.02439, allocations: 120 kB / 0.8638 GB, free: 2.961 MB / 0.823 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.0001095/0.0245, allocations: 92.34 kB / 0.8639 GB, free: 2.863 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.02504, allocations: 0.5754 MB / 0.8645 GB, free: 2.25 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.02505, allocations: 8 kB / 0.8645 GB, free: 2.242 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.02551, allocations: 459.4 kB / 0.8649 GB, free: 1.754 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.02603, allocations: 130.8 kB / 0.865 GB, free: 1.625 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.02709, allocations: 0.849 MB / 0.8659 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.634e-05/0.02719, allocations: 145.6 kB / 0.866 GB, free: 0.543 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.02733, allocations: 60.38 kB / 0.8661 GB, free: 496 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.02753, allocations: 145.3 kB / 0.8662 GB, free: 352 kB / 0.823 GB Notification: Performance of SimCode: time 9.92e-07/0.02753, allocations: 0 / 0.8662 GB, free: 352 kB / 0.823 GB Notification: Performance of Templates: time 0.008841/0.03637, allocations: 6.333 MB / 0.8724 GB, free: 10.13 MB / 0.8386 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 -s gbode -gbm=radauIIA3 -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.3973109680227935]