Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.000983/0.000983, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.0009731/0.0009731, allocations: 165 kB / 24.27 MB, free: 276 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.9278/0.9278, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.82/1.82, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.985e-05, allocations: 6.203 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02012/0.02014, allocations: 16.21 MB / 0.8274 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00585/0.02599, allocations: 4.911 MB / 0.8322 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/0.02662, allocations: 87.31 kB / 0.8322 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.02799, allocations: 1.086 MB / 0.8333 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.02934, allocations: 0.8013 MB / 0.8341 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.03095, allocations: 0.9296 MB / 0.835 GB, free: 10 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003121/0.03407, allocations: 3.676 MB / 0.8386 GB, free: 6.312 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.03694, allocations: 2.465 MB / 0.841 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.03935, allocations: 2.292 MB / 0.8432 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.04122, allocations: 1.781 MB / 0.845 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003784/0.0416, allocations: 340 kB / 0.8453 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.04277, allocations: 0.7565 MB / 0.846 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.04391, allocations: 1.442 MB / 0.8474 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.04496, allocations: 1.031 MB / 0.8484 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.04766, allocations: 2.875 MB / 0.8512 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.04767, allocations: 4 kB / 0.8512 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.553e-06/0.04767, allocations: 0 / 0.8512 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.04769, allocations: 0 / 0.8512 GB, free: 9.246 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003547/0.05123, allocations: 2.835 MB / 0.854 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.05127, allocations: 8.031 kB / 0.854 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/0.05503, allocations: 1.234 MB / 0.8552 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.05701, allocations: 1.459 MB / 0.8567 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.05713, allocations: 177.1 kB / 0.8568 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.05746, allocations: 236.3 kB / 0.857 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.06109, allocations: 2.316 MB / 0.8593 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.663e-05/0.06114, allocations: 12.11 kB / 0.8593 GB, free: 0.7109 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.06137, allocations: 104.3 kB / 0.8594 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/0.06155, allocations: 172.5 kB / 0.8596 GB, free: 448 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.064, allocations: 0.983 MB / 0.8605 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.07436, allocations: 10.77 MB / 0.8711 GB, free: 4.309 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.07627, allocations: 1.038 MB / 0.8721 GB, free: 3.242 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.07666, allocations: 224.9 kB / 0.8723 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.07674, allocations: 24.64 kB / 0.8723 GB, free: 2.988 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.07677, allocations: 49.92 kB / 0.8724 GB, free: 2.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/0.07677, allocations: 0 / 0.8724 GB, free: 2.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.002957/0.07973, allocations: 2.006 MB / 0.8743 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.07978, allocations: 111.5 kB / 0.8744 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009604/0.08074, allocations: 0.9365 MB / 0.8753 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.08078, allocations: 41.95 kB / 0.8754 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/0.08142, allocations: 1.211 MB / 0.8766 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.08161, allocations: 293.6 kB / 0.8768 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.08195, allocations: 297 kB / 0.8771 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002493/0.0822, allocations: 0.6172 MB / 0.8777 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.08259, allocations: 191.9 kB / 0.8779 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.08342, allocations: 1.017 MB / 0.8789 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.08471, allocations: 1.317 MB / 0.8802 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.08472, allocations: 4 kB / 0.8802 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001822/0.08654, allocations: 1.202 MB / 0.8814 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.08657, allocations: 19.98 kB / 0.8814 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.0866, allocations: 27.92 kB / 0.8814 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/0.08687, allocations: 115.5 kB / 0.8815 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/0.08772, allocations: 343.3 kB / 0.8819 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.263e-05/0.08775, allocations: 39.86 kB / 0.8819 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.08841, allocations: 119.8 kB / 0.882 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-05/0.0885, allocations: 71.98 kB / 0.8821 GB, free: 8.094 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003618/0.08886, allocations: 256 kB / 0.8823 GB, free: 7.832 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.08906, allocations: 131.3 kB / 0.8824 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.09012, allocations: 0.6422 MB / 0.8831 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.09012, allocations: 8 kB / 0.8831 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.09013, allocations: 0 / 0.8831 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.09014, allocations: 7.984 kB / 0.8831 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.09353, allocations: 2.391 MB / 0.8854 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.09353, allocations: 8.25 kB / 0.8854 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.09396, allocations: 155.8 kB / 0.8856 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.09417, allocations: 90.67 kB / 0.8857 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.09421, allocations: 12 kB / 0.8857 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.09422, allocations: 8 kB / 0.8857 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.09422, allocations: 7.938 kB / 0.8857 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.09509, allocations: 1.066 MB / 0.8867 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.09531, allocations: 191.2 kB / 0.8869 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.09539, allocations: 20 kB / 0.8869 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.09567, allocations: 55.92 kB / 0.887 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.09577, allocations: 60.53 kB / 0.887 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.0958, allocations: 27.94 kB / 0.8871 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004209/0.09622, allocations: 0.5074 MB / 0.8876 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/0.09622, allocations: 0 / 0.8876 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007481/0.09696, allocations: 392 kB / 0.8879 GB, free: 1.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.09713, allocations: 131.1 kB / 0.8881 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008769/0.09801, allocations: 0.7484 MB / 0.8888 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.09801, allocations: 4.938 kB / 0.8888 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.09833, allocations: 305.2 kB / 0.8891 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.09911, allocations: 276.1 kB / 0.8894 GB, free: 368 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.1024, allocations: 3.303 MB / 0.8926 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.1028, allocations: 0.5749 MB / 0.8931 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000529/0.1033, allocations: 377.3 kB / 0.8935 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.1034, allocations: 84.48 kB / 0.8936 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.1035, allocations: 0 / 0.8936 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.01628/0.1197, allocations: 12.78 MB / 0.9061 GB, free: 15.42 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.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.172230490017682]