Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 199.2 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6649 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6475, allocations: 140.4 MB / 0.9496 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01024/0.6578, allocations: 11.05 MB / 0.9604 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008985/0.6668, allocations: 5.863 MB / 0.9661 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.6682, allocations: 45.66 kB / 0.9661 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.6723, allocations: 1.612 MB / 0.9677 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.6756, allocations: 1.06 MB / 0.9688 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.6778, allocations: 0.7443 MB / 0.9695 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003772/0.6816, allocations: 2.852 MB / 0.9723 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.6839, allocations: 1.319 MB / 0.9736 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.6855, allocations: 0.7541 MB / 0.9743 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.687, allocations: 0.9275 MB / 0.9752 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.6872, allocations: 82.16 kB / 0.9753 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.6901, allocations: 1.464 MB / 0.9767 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006229/0.6907, allocations: 0.4967 MB / 0.9772 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009787/0.6917, allocations: 0.7492 MB / 0.9779 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.6943, allocations: 1.87 MB / 0.9798 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6943, allocations: 0 / 0.9798 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6943, allocations: 4 kB / 0.9798 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.348e-05/0.6944, allocations: 0 / 0.9798 GB, free: 3.289 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003189/0.6976, allocations: 1.867 MB / 0.9816 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6976, allocations: 11.97 kB / 0.9816 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.7022, allocations: 0.666 MB / 0.9822 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.7038, allocations: 0.9106 MB / 0.9831 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.7039, allocations: 98.89 kB / 0.9832 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.7041, allocations: 128.3 kB / 0.9833 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.7074, allocations: 2.206 MB / 0.9855 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.7075, allocations: 19.77 kB / 0.9855 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.7076, allocations: 63.97 kB / 0.9856 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.7079, allocations: 162.3 kB / 0.9857 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.7107, allocations: 1.867 MB / 0.9876 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.7225, allocations: 12.46 MB / 0.9997 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.7268, allocations: 1.968 MB / 1.002 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.7277, allocations: 0.6167 MB / 1.002 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.7279, allocations: 98.09 kB / 1.002 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.7279, allocations: 43.56 kB / 1.002 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 2.655e-06/0.7279, allocations: 0 / 1.002 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.006023/0.734, allocations: 3.706 MB / 1.006 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.734, allocations: 60.41 kB / 1.006 GB, free: 6.84 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.7351, allocations: 0.9204 MB / 1.007 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.7352, allocations: 41.7 kB / 1.007 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.7356, allocations: 0.7353 MB / 1.008 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.7359, allocations: 386.5 kB / 1.008 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.7363, allocations: 291.2 kB / 1.008 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.7364, allocations: 301.1 kB / 1.009 GB, free: 4.137 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009014/0.7374, allocations: 0.609 MB / 1.009 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.7386, allocations: 1.109 MB / 1.01 GB, free: 2.199 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.7409, allocations: 1.828 MB / 1.012 GB, free: 160 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.7409, allocations: 4 kB / 1.012 GB, free: 156 kB / 0.7637 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003391/0.7443, allocations: 2.108 MB / 1.014 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.7443, allocations: 15.98 kB / 1.014 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.7443, allocations: 16 kB / 1.014 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008017/0.7451, allocations: 254.9 kB / 1.014 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.7464, allocations: 375.4 kB / 1.015 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008054/0.7544, allocations: 10.76 MB / 1.025 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.7557, allocations: 127.8 kB / 1.025 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.7559, allocations: 71.98 kB / 1.026 GB, free: 1.312 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0006906/0.7566, allocations: 406.6 kB / 1.026 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.7568, allocations: 130.4 kB / 1.026 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.7597, allocations: 1.692 MB / 1.028 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.7597, allocations: 12 kB / 1.028 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7597, allocations: 4 kB / 1.028 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7597, allocations: 3.984 kB / 1.028 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005112/0.7649, allocations: 3.287 MB / 1.031 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.7649, allocations: 4 kB / 1.031 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.7657, allocations: 223.6 kB / 1.031 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000711/0.7664, allocations: 251.2 kB / 1.031 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.7665, allocations: 24 kB / 1.031 GB, free: 11.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008078/0.7746, allocations: 10.75 MB / 1.042 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.7746, allocations: 8 kB / 1.042 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.7774, allocations: 1.792 MB / 1.044 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005397/0.778, allocations: 315.3 kB / 1.044 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.7782, allocations: 24 kB / 1.044 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.7789, allocations: 95.8 kB / 1.044 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.7791, allocations: 96.7 kB / 1.044 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.7792, allocations: 36 kB / 1.044 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007708/0.7799, allocations: 0.6138 MB / 1.045 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7799, allocations: 0 / 1.045 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001388/0.7813, allocations: 396 kB / 1.045 GB, free: 11.78 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002273/0.7816, allocations: 147 kB / 1.045 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003493/0.7851, allocations: 2.488 MB / 1.048 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.7851, allocations: 0 / 1.048 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.7872, allocations: 1.63 MB / 1.049 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.7889, allocations: 332.6 kB / 1.05 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.7938, allocations: 3.491 MB / 1.053 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009398/0.7948, allocations: 1.327 MB / 1.054 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.7953, allocations: 111.4 kB / 1.054 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of SimCode: time 6.32e-07/0.7953, allocations: 0 / 1.054 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of Templates: time 0.06476/0.86, allocations: 59.16 MB / 1.112 GB, free: 6.758 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches