Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.001085/0.001085, 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.001504/0.001504, allocations: 194.6 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.261/2.261, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 63.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6115, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01455/0.6261, allocations: 16.01 MB / 0.9654 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007642/0.6337, allocations: 4.818 MB / 0.9701 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009929/0.6348, allocations: 65.47 kB / 0.9701 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.6372, allocations: 1.042 MB / 0.9712 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.6388, allocations: 0.7481 MB / 0.9719 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.6407, allocations: 0.9196 MB / 0.9728 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003693/0.6444, allocations: 3.619 MB / 0.9763 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004776/0.6492, allocations: 4.802 MB / 0.981 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.6512, allocations: 1.57 MB / 0.9825 GB, free: 108 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.6531, allocations: 1.788 MB / 0.9843 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004035/0.6535, allocations: 340 kB / 0.9846 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.6548, allocations: 0.7958 MB / 0.9854 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.6559, allocations: 1.318 MB / 0.9867 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.6571, allocations: 1.455 MB / 0.9881 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.6607, allocations: 5.103 MB / 0.9931 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6607, allocations: 0 / 0.9931 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6607, allocations: 0 / 0.9931 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.169e-05/0.6608, allocations: 0 / 0.9931 GB, free: 5.285 MB / 0.7481 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.00392/0.6647, allocations: 2.647 MB / 0.9957 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6647, allocations: 12.03 kB / 0.9957 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004017/0.6651, allocations: 378.5 kB / 0.996 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.6688, allocations: 0.8251 MB / 0.9968 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.6709, allocations: 1.498 MB / 0.9983 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.6711, allocations: 181 kB / 0.9985 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.6714, allocations: 232.4 kB / 0.9987 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005594/0.677, allocations: 4.161 MB / 1.003 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.6771, allocations: 7.844 kB / 1.003 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.6773, allocations: 104 kB / 1.003 GB, free: 11 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.6775, allocations: 168.5 kB / 1.003 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004986/0.6825, allocations: 3.642 MB / 1.007 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.6976, allocations: 16.53 MB / 1.023 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.7006, allocations: 2.304 MB / 1.025 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/0.7014, allocations: 0.5746 MB / 1.026 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.7015, allocations: 97.64 kB / 1.026 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7016, allocations: 51.06 kB / 1.026 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.265e-06/0.7016, allocations: 0 / 1.026 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.004973/0.7066, allocations: 3.428 MB / 1.029 GB, free: 14.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.7066, allocations: 111.5 kB / 1.029 GB, free: 14.28 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.7078, allocations: 1.01 MB / 1.03 GB, free: 13.24 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.7078, allocations: 45.77 kB / 1.03 GB, free: 13.19 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.7084, allocations: 1.099 MB / 1.031 GB, free: 12.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.7086, allocations: 280.1 kB / 1.032 GB, free: 11.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.7089, allocations: 275.2 kB / 1.032 GB, free: 11.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7091, allocations: 418.7 kB / 1.032 GB, free: 11.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008409/0.71, allocations: 0.6167 MB / 1.033 GB, free: 10.49 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.7111, allocations: 1.189 MB / 1.034 GB, free: 9.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.7132, allocations: 1.86 MB / 1.036 GB, free: 6.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.7132, allocations: 8 kB / 1.036 GB, free: 6.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002926/0.7162, allocations: 2.014 MB / 1.038 GB, free: 4.863 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7162, allocations: 15.94 kB / 1.038 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.7162, allocations: 20 kB / 1.038 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.7166, allocations: 164 kB / 1.038 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.7177, allocations: 343.4 kB / 1.038 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.498e-05/0.7177, allocations: 39.86 kB / 1.038 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.7186, allocations: 131.7 kB / 1.038 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.213e-05/0.7187, allocations: 64 kB / 1.038 GB, free: 4.09 MB / 0.795 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.001153/0.7199, allocations: 0.981 MB / 1.039 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.7201, allocations: 110.6 kB / 1.04 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.7219, allocations: 1.234 MB / 1.041 GB, free: 1.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.7219, allocations: 8 kB / 1.041 GB, free: 1.723 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.722, allocations: 4 kB / 1.041 GB, free: 1.719 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.722, allocations: 3.984 kB / 1.041 GB, free: 1.715 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/0.727, allocations: 3.811 MB / 1.044 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.7271, allocations: 4 kB / 1.044 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.7276, allocations: 159.6 kB / 1.045 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.728, allocations: 143.6 kB / 1.045 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.728, allocations: 24.08 kB / 1.045 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.728, allocations: 7.938 kB / 1.045 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7281, allocations: 7.938 kB / 1.045 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.7298, allocations: 1.472 MB / 1.046 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.7301, allocations: 263.8 kB / 1.046 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.7303, allocations: 23.91 kB / 1.047 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/0.7309, allocations: 63.91 kB / 1.047 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.731, allocations: 60.36 kB / 1.047 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.731, allocations: 20 kB / 1.047 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007816/0.7318, allocations: 0.6992 MB / 1.047 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7318, allocations: 4 kB / 1.047 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001208/0.733, allocations: 388 kB / 1.048 GB, free: 10.34 MB / 0.8106 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.00204/0.7351, allocations: 2.029 MB / 1.05 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00256/0.7377, allocations: 2.011 MB / 1.052 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7377, allocations: 4 kB / 1.052 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008545/0.7385, allocations: 0.8595 MB / 1.053 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.7398, allocations: 263 kB / 1.053 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.7559, allocations: 13.34 MB / 1.066 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.7575, allocations: 1.92 MB / 1.068 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001037/0.7586, allocations: 449.6 kB / 1.068 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/0.7594, allocations: 0.7141 MB / 1.069 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of SimCode: time 5e-07/0.7594, allocations: 4 kB / 1.069 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.391/2.151, allocations: 27.29 MB / 1.095 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/16.19, allocations: 4.062 kB / 1.095 GB, free: 8.664 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches