Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 108 kB / 15.61 MB, free: 152 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.001397/0.001397, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 64.09 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5928, allocations: 140.4 MB / 0.9497 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02039/0.6132, allocations: 20.26 MB / 0.9695 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.6257, allocations: 6.442 MB / 0.9758 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004178/0.6299, allocations: 83.41 kB / 0.9759 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008601/0.6386, allocations: 2.24 MB / 0.9781 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005349/0.644, allocations: 1.174 MB / 0.9792 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.6486, allocations: 1.287 MB / 0.9805 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008015/0.6566, allocations: 4.854 MB / 0.9852 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.6683, allocations: 5.63 MB / 0.9907 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004931/0.6732, allocations: 2.084 MB / 0.9927 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004173/0.6774, allocations: 2.34 MB / 0.995 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.6787, allocations: 432 kB / 0.9954 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.6816, allocations: 0.9986 MB / 0.9964 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002938/0.6846, allocations: 1.661 MB / 0.998 GB, free: 360 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00499/0.6896, allocations: 1.914 MB / 0.9999 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007279/0.6969, allocations: 6.481 MB / 1.006 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6969, allocations: 0 / 1.006 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6969, allocations: 0 / 1.006 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001257/0.6971, allocations: 0 / 1.006 GB, free: 7.93 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006361/0.7034, allocations: 3.444 MB / 1.01 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7035, allocations: 8.031 kB / 1.01 GB, free: 4.414 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000521/0.704, allocations: 454.6 kB / 1.01 GB, free: 3.957 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.7072, allocations: 0.6449 MB / 1.011 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.7102, allocations: 1.939 MB / 1.013 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.7104, allocations: 226.3 kB / 1.013 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.7108, allocations: 300.1 kB / 1.013 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006923/0.7177, allocations: 4.89 MB / 1.018 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-05/0.7178, allocations: 11.84 kB / 1.018 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002848/0.7181, allocations: 132 kB / 1.018 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004163/0.7185, allocations: 225.7 kB / 1.018 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006002/0.7245, allocations: 3.754 MB / 1.022 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03091/0.7555, allocations: 21.57 MB / 1.043 GB, free: 12 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.7583, allocations: 1.304 MB / 1.044 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/0.7604, allocations: 1.046 MB / 1.045 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-05/0.7605, allocations: 13 kB / 1.045 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.7606, allocations: 51.55 kB / 1.045 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=107): time 4.057e-06/0.7606, allocations: 0 / 1.045 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138): time 0.03638/0.797, allocations: 8.653 MB / 1.054 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.7971, allocations: 64.72 kB / 1.054 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/0.7998, allocations: 1.134 MB / 1.055 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.7999, allocations: 49.7 kB / 1.055 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.8012, allocations: 1.3 MB / 1.056 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.8018, allocations: 481 kB / 1.057 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000739/0.8026, allocations: 291.3 kB / 1.057 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8027, allocations: 305.1 kB / 1.057 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.8041, allocations: 0.9174 MB / 1.058 GB, free: 296 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.8057, allocations: 1.326 MB / 1.059 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/0.8087, allocations: 2.426 MB / 1.062 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.8088, allocations: 4 kB / 1.062 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006164/0.8149, allocations: 3.468 MB / 1.065 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.815, allocations: 13.09 kB / 1.065 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.815, allocations: 12 kB / 1.065 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003242/0.8183, allocations: 1.19 MB / 1.066 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.8192, allocations: 263.5 kB / 1.067 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.8369, allocations: 13.85 MB / 1.08 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.8383, allocations: 92.09 kB / 1.08 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.8385, allocations: 60 kB / 1.08 GB, free: 8.816 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001914/0.8404, allocations: 1.129 MB / 1.081 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/0.8409, allocations: 162.1 kB / 1.082 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005893/0.8468, allocations: 3.165 MB / 1.085 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.8468, allocations: 19.98 kB / 1.085 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-05/0.8468, allocations: 19.94 kB / 1.085 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.8468, allocations: 3.984 kB / 1.085 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.8573, allocations: 6.237 MB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.8573, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.8579, allocations: 151.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/0.8608, allocations: 1.079 MB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/0.8609, allocations: 28 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/0.8782, allocations: 13.54 MB / 1.105 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.306e-05/0.8782, allocations: 7.938 kB / 1.105 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.8837, allocations: 3.154 MB / 1.108 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008183/0.8845, allocations: 427 kB / 1.109 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.8849, allocations: 27.94 kB / 1.109 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.8858, allocations: 83.89 kB / 1.109 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.8862, allocations: 128.7 kB / 1.109 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.99e-05/0.8863, allocations: 36 kB / 1.109 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001204/0.8876, allocations: 0.7671 MB / 1.11 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8876, allocations: 0 / 1.11 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002145/0.8897, allocations: 0.6601 MB / 1.11 GB, free: 9.293 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005319/0.895, allocations: 3.74 MB / 1.114 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006042/0.9011, allocations: 3.637 MB / 1.118 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/0.9011, allocations: 4 kB / 1.118 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/0.9042, allocations: 1.955 MB / 1.12 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.9068, allocations: 0.4927 MB / 1.12 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/0.9411, allocations: 20.11 MB / 1.14 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/0.944, allocations: 2.328 MB / 1.142 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0011/0.9451, allocations: 354.1 kB / 1.142 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.9462, allocations: 1.015 MB / 1.143 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of SimCode: time 7.82e-07/0.9462, allocations: 0 / 1.143 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09358/1.04, allocations: 51.45 MB / 1.193 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.41, allocations: 3.984 kB / 1.193 GB, free: 3.828 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches