Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008957, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009408/0.000941, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.414 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.573/2.573, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003875, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.778, allocations: 142.4 MB / 0.9544 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006967/0.7851, allocations: 3.761 MB / 0.9581 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004553/0.7897, allocations: 2.216 MB / 0.9603 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.7904, allocations: 14.72 kB / 0.9603 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.7908, allocations: 67.48 kB / 0.9604 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.7922, allocations: 283.8 kB / 0.9606 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.7932, allocations: 236.4 kB / 0.9608 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.7945, allocations: 0.7299 MB / 0.9616 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.7956, allocations: 419.7 kB / 0.962 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/0.7963, allocations: 224 kB / 0.9622 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.7969, allocations: 255.2 kB / 0.9624 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.797, allocations: 17.16 kB / 0.9624 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.7978, allocations: 217.8 kB / 0.9626 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.798, allocations: 124.9 kB / 0.9628 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.7983, allocations: 108.4 kB / 0.9629 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009432/0.7992, allocations: 0.5365 MB / 0.9634 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7992, allocations: 0 / 0.9634 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/0.7992, allocations: 1.25 kB / 0.9634 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.829e-05/0.7993, allocations: 0 / 0.9634 GB, free: 1.074 MB / 0.7169 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.00148/0.8008, allocations: 0.7176 MB / 0.9641 GB, free: 456 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8008, allocations: 9.719 kB / 0.9641 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.8024, allocations: 188.5 kB / 0.9643 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.803, allocations: 393.6 kB / 0.9647 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.803, allocations: 28.41 kB / 0.9647 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.8031, allocations: 34.83 kB / 0.9647 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.8044, allocations: 0.6522 MB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.8044, allocations: 10 kB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/0.8045, allocations: 14.53 kB / 0.9654 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.8046, allocations: 47.81 kB / 0.9654 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009451/0.8056, allocations: 0.4928 MB / 0.9659 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.8095, allocations: 3.773 MB / 0.9696 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.8114, allocations: 0.6374 MB / 0.9702 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.8117, allocations: 173.2 kB / 0.9704 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.8117, allocations: 7 kB / 0.9704 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.8118, allocations: 41.5 kB / 0.9704 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.8118, allocations: 0 / 0.9704 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002663/0.8144, allocations: 1.279 MB / 0.9717 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.8145, allocations: 106.5 kB / 0.9718 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.815, allocations: 390.2 kB / 0.9721 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.8151, allocations: 30.8 kB / 0.9722 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.8153, allocations: 286.8 kB / 0.9724 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.8154, allocations: 121.7 kB / 0.9726 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.8154, allocations: 9.875 kB / 0.9726 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8156, allocations: 352.7 kB / 0.9729 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.8159, allocations: 177.8 kB / 0.9731 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.8164, allocations: 375.7 kB / 0.9734 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.8168, allocations: 234 kB / 0.9737 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.8168, allocations: 2.031 kB / 0.9737 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001277/0.8181, allocations: 0.6794 MB / 0.9743 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.8182, allocations: 7.812 kB / 0.9743 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.8182, allocations: 7.094 kB / 0.9743 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.8186, allocations: 96.55 kB / 0.9744 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.819, allocations: 115.5 kB / 0.9745 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.8223, allocations: 4.034 MB / 0.9785 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.8227, allocations: 31.8 kB / 0.9785 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.8228, allocations: 27.98 kB / 0.9785 GB, free: 3.918 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.8231, allocations: 191 kB / 0.9787 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.8232, allocations: 43.28 kB / 0.9788 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.8243, allocations: 0.5206 MB / 0.9793 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.8243, allocations: 2.875 kB / 0.9793 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8243, allocations: 1.938 kB / 0.9793 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.8243, allocations: 1.125 kB / 0.9793 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.8264, allocations: 1.288 MB / 0.9805 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.8264, allocations: 3.5 kB / 0.9805 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.8266, allocations: 61.52 kB / 0.9806 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.8269, allocations: 90.33 kB / 0.9807 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.827, allocations: 9.469 kB / 0.9807 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/0.8306, allocations: 4.032 MB / 0.9846 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.8306, allocations: 2.969 kB / 0.9846 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.832, allocations: 0.7798 MB / 0.9854 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.8324, allocations: 162 kB / 0.9855 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/0.8325, allocations: 8.312 kB / 0.9856 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.8329, allocations: 27.09 kB / 0.9856 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.833, allocations: 29.72 kB / 0.9856 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.833, allocations: 14.28 kB / 0.9856 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003948/0.8334, allocations: 273.2 kB / 0.9859 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8334, allocations: 0 / 0.9859 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001368/0.8348, allocations: 124 kB / 0.986 GB, free: 13.22 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002237/0.8351, allocations: 123.4 kB / 0.9861 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.8367, allocations: 0.7984 MB / 0.9869 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.8367, allocations: 0 / 0.9869 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007494/0.8374, allocations: 0.5514 MB / 0.9874 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.8385, allocations: 125.8 kB / 0.9876 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.8407, allocations: 1.05 MB / 0.9886 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.8412, allocations: 0.8625 MB / 0.9894 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003942/0.8416, allocations: 100.5 kB / 0.9895 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.8417, allocations: 35.44 kB / 0.9896 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of SimCode: time 7.52e-07/0.8417, allocations: 0 / 0.9896 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of Templates: time 0.0126/0.8543, allocations: 5.322 MB / 0.9947 GB, free: 4.352 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches