Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.71/1.71, allocations: 390.4 MB / 397.7 MB, free: 1.891 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009062/0.0009062, allocations: 180.1 kB / 490.8 MB, free: 7.508 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.059/1.059, allocations: 221.3 MB / 0.7863 GB, free: 260 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 96.66 kB / 0.9264 GB, free: 0.6484 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.262e-06, allocations: 4 kB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1678, allocations: 143 MB / 1.212 GB, free: 10.57 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.6256, allocations: 168.1 MB / 1.376 GB, free: 9.883 MB / 0.8467 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.6258, allocations: 95.94 kB / 1.376 GB, free: 9.789 MB / 0.8467 GB Notification: Performance of FrontEnd: time 0.0728/0.6986, allocations: 37.17 MB / 1.412 GB, free: 4.191 MB / 0.8779 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.6987, allocations: 24 kB / 1.412 GB, free: 4.168 MB / 0.8779 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.001518/0.7002, allocations: 1.159 MB / 1.413 GB, free: 2.961 MB / 0.8779 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.7002, allocations: 11.97 kB / 1.413 GB, free: 2.949 MB / 0.8779 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.7016, allocations: 250.5 kB / 1.414 GB, free: 2.703 MB / 0.8779 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009863/0.7026, allocations: 0.7085 MB / 1.414 GB, free: 1.953 MB / 0.8779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.7026, allocations: 40 kB / 1.414 GB, free: 1.914 MB / 0.8779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.7028, allocations: 72 kB / 1.414 GB, free: 1.844 MB / 0.8779 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002004/0.7048, allocations: 1.524 MB / 1.416 GB, free: 320 kB / 0.8779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.7071, allocations: 1.773 MB / 1.418 GB, free: 14.49 MB / 0.8936 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.7072, allocations: 0 / 1.418 GB, free: 14.49 MB / 0.8936 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.7073, allocations: 0 / 1.418 GB, free: 14.49 MB / 0.8936 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/0.7073, allocations: 62.05 kB / 1.418 GB, free: 14.43 MB / 0.8936 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007054/0.7144, allocations: 7.876 MB / 1.425 GB, free: 5.84 MB / 0.8936 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.7145, allocations: 126.3 kB / 1.425 GB, free: 5.68 MB / 0.8936 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.824e-05/0.7146, allocations: 83.52 kB / 1.426 GB, free: 5.586 MB / 0.8936 GB Notification: Performance of preOpt evalFunc (simulation): time 9.194e-05/0.7147, allocations: 93.08 kB / 1.426 GB, free: 5.477 MB / 0.8936 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.7147, allocations: 38.56 kB / 1.426 GB, free: 5.43 MB / 0.8936 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.7147, allocations: 0 / 1.426 GB, free: 5.43 MB / 0.8936 GB Notification: Performance of matching and sorting (n=9): time 0.0004965/0.7152, allocations: 256.8 kB / 1.426 GB, free: 5.172 MB / 0.8936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.7153, allocations: 136.4 kB / 1.426 GB, free: 5.008 MB / 0.8936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007809/0.7161, allocations: 0.8178 MB / 1.427 GB, free: 4.18 MB / 0.8936 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.7161, allocations: 25.7 kB / 1.427 GB, free: 4.148 MB / 0.8936 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.7165, allocations: 0.7547 MB / 1.428 GB, free: 3.379 MB / 0.8936 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.7165, allocations: 51.53 kB / 1.428 GB, free: 3.328 MB / 0.8936 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.7165, allocations: 0 / 1.428 GB, free: 3.328 MB / 0.8936 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7167, allocations: 374.8 kB / 1.428 GB, free: 2.953 MB / 0.8936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.7171, allocations: 414.4 kB / 1.428 GB, free: 2.547 MB / 0.8936 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.7179, allocations: 1.143 MB / 1.429 GB, free: 1.035 MB / 0.8936 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.7189, allocations: 0.8065 MB / 1.43 GB, free: 236 kB / 0.8936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.7189, allocations: 8 kB / 1.43 GB, free: 228 kB / 0.8936 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00188/0.7208, allocations: 1.461 MB / 1.432 GB, free: 14.76 MB / 0.9092 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.7208, allocations: 12.03 kB / 1.432 GB, free: 14.75 MB / 0.9092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.7209, allocations: 24 kB / 1.432 GB, free: 14.72 MB / 0.9092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/0.7209, allocations: 40.06 kB / 1.432 GB, free: 14.68 MB / 0.9092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.7216, allocations: 287.4 kB / 1.432 GB, free: 14.4 MB / 0.9092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.089e-05/0.7217, allocations: 51.8 kB / 1.432 GB, free: 14.35 MB / 0.9092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/0.7223, allocations: 158.3 kB / 1.432 GB, free: 14.2 MB / 0.9092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.7224, allocations: 68 kB / 1.432 GB, free: 14.13 MB / 0.9092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.7225, allocations: 172.2 kB / 1.432 GB, free: 13.95 MB / 0.9092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.7226, allocations: 63.28 kB / 1.433 GB, free: 13.89 MB / 0.9092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.7229, allocations: 145.7 kB / 1.433 GB, free: 13.73 MB / 0.9092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7229, allocations: 0 / 1.433 GB, free: 13.73 MB / 0.9092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7229, allocations: 0 / 1.433 GB, free: 13.73 MB / 0.9092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.723, allocations: 0 / 1.433 GB, free: 13.73 MB / 0.9092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.7235, allocations: 0.5056 MB / 1.433 GB, free: 13.18 MB / 0.9092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7235, allocations: 0 / 1.433 GB, free: 13.18 MB / 0.9092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.7236, allocations: 7.938 kB / 1.433 GB, free: 13.18 MB / 0.9092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7236, allocations: 4 kB / 1.433 GB, free: 13.17 MB / 0.9092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.7236, allocations: 4 kB / 1.433 GB, free: 13.17 MB / 0.9092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7236, allocations: 4 kB / 1.433 GB, free: 13.16 MB / 0.9092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7236, allocations: 0 / 1.433 GB, free: 13.16 MB / 0.9092 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002021/0.7238, allocations: 384.8 kB / 1.434 GB, free: 12.76 MB / 0.9092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.724, allocations: 164.4 kB / 1.434 GB, free: 12.58 MB / 0.9092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.7241, allocations: 0 / 1.434 GB, free: 12.58 MB / 0.9092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.7243, allocations: 7.984 kB / 1.434 GB, free: 12.57 MB / 0.9092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.7243, allocations: 4 kB / 1.434 GB, free: 12.57 MB / 0.9092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.7243, allocations: 0 / 1.434 GB, free: 12.57 MB / 0.9092 GB Notification: Performance of sort global known variables: time 0.0005773/0.7249, allocations: 0.624 MB / 1.434 GB, free: 11.95 MB / 0.9092 GB Notification: Performance of remove unused functions: time 0.0008099/0.7257, allocations: 275 kB / 1.435 GB, free: 11.68 MB / 0.9092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001113/0.7259, allocations: 118.3 kB / 1.435 GB, free: 11.55 MB / 0.9092 GB Notification: Performance of simCode: created initialization part: time 0.0007046/0.7266, allocations: 0.6855 MB / 1.435 GB, free: 10.88 MB / 0.9092 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7266, allocations: 0 / 1.435 GB, free: 10.88 MB / 0.9092 GB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.7266, allocations: 16 kB / 1.435 GB, free: 10.86 MB / 0.9092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.7269, allocations: 38.94 kB / 1.435 GB, free: 10.82 MB / 0.9092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.7286, allocations: 1.303 MB / 1.437 GB, free: 9.477 MB / 0.9092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009534/0.7296, allocations: 1.358 MB / 1.438 GB, free: 8.09 MB / 0.9092 GB Notification: Performance of SimCode: time 2.9e-07/0.7296, allocations: 4 kB / 1.438 GB, free: 8.086 MB / 0.9092 GB Notification: Performance of Templates: time 0.009827/0.7394, allocations: 5.696 MB / 1.444 GB, free: 2.398 MB / 0.9092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches