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.001579/0.001579, allocations: 108 kB / 15.6 MB, free: 132 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.001912/0.001912, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.549/1.549, allocations: 222.9 MB / 240.2 MB, free: 4.418 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: 396 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 63.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6816/0.6844, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0173/0.7017, allocations: 16.01 MB / 0.9654 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008157/0.7099, allocations: 4.818 MB / 0.9701 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009858/0.7109, allocations: 65.03 kB / 0.9701 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.7136, allocations: 1.046 MB / 0.9712 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.7154, allocations: 0.7448 MB / 0.9719 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.7177, allocations: 0.9116 MB / 0.9728 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.7215, allocations: 3.615 MB / 0.9763 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005992/0.7275, allocations: 4.807 MB / 0.981 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.7304, allocations: 1.574 MB / 0.9825 GB, free: 132 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.7331, allocations: 1.78 MB / 0.9843 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008266/0.7339, allocations: 336 kB / 0.9846 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.7358, allocations: 0.7957 MB / 0.9854 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.7373, allocations: 1.329 MB / 0.9867 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.7396, allocations: 1.451 MB / 0.9881 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005506/0.7451, allocations: 5.095 MB / 0.9931 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7451, allocations: 0 / 0.9931 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7452, allocations: 4 kB / 0.9931 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001431/0.7453, allocations: 0 / 0.9931 GB, free: 5.316 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.006135/0.7515, allocations: 2.648 MB / 0.9957 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7515, allocations: 12.03 kB / 0.9957 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005577/0.7521, allocations: 378.5 kB / 0.996 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.7559, allocations: 0.829 MB / 0.9968 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.7584, allocations: 1.497 MB / 0.9983 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.7585, allocations: 177.1 kB / 0.9985 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/0.7589, allocations: 236.4 kB / 0.9987 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006416/0.7653, allocations: 4.157 MB / 1.003 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/0.7654, allocations: 11.89 kB / 1.003 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.7656, allocations: 99.98 kB / 1.003 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001986/0.7659, allocations: 168.5 kB / 1.003 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00544/0.7713, allocations: 3.632 MB / 1.007 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.7882, allocations: 16.55 MB / 1.023 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/0.7914, allocations: 2.305 MB / 1.025 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000817/0.7923, allocations: 0.5707 MB / 1.026 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.7924, allocations: 97.64 kB / 1.026 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.7925, allocations: 47.12 kB / 1.026 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.7925, allocations: 0 / 1.026 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.005479/0.798, allocations: 3.428 MB / 1.029 GB, free: 14.44 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.798, allocations: 111.5 kB / 1.029 GB, free: 14.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.7993, allocations: 1.018 MB / 1.03 GB, free: 13.26 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.7993, allocations: 41.77 kB / 1.03 GB, free: 13.21 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.7999, allocations: 1.103 MB / 1.031 GB, free: 12.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.8001, allocations: 276.1 kB / 1.032 GB, free: 11.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.8005, allocations: 275.2 kB / 1.032 GB, free: 11.55 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8007, allocations: 418.7 kB / 1.032 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008794/0.8016, allocations: 0.6128 MB / 1.033 GB, free: 10.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.8028, allocations: 1.189 MB / 1.034 GB, free: 9.062 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.8049, allocations: 1.864 MB / 1.036 GB, free: 6.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.8049, allocations: 8 kB / 1.036 GB, free: 6.922 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003011/0.8079, allocations: 2.014 MB / 1.038 GB, free: 4.887 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.808, allocations: 12 kB / 1.038 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.808, allocations: 20 kB / 1.038 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.8084, allocations: 167.9 kB / 1.038 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.8096, allocations: 347.4 kB / 1.038 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.815e-05/0.8096, allocations: 39.86 kB / 1.038 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009431/0.8106, allocations: 123.7 kB / 1.038 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.8107, allocations: 71.98 kB / 1.038 GB, free: 4.109 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.001252/0.8119, allocations: 0.9732 MB / 1.039 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.8122, allocations: 122.6 kB / 1.04 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.8142, allocations: 1.226 MB / 1.041 GB, free: 1.754 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.8143, allocations: 12 kB / 1.041 GB, free: 1.742 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.8143, allocations: 0 / 1.041 GB, free: 1.742 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.8143, allocations: 7.984 kB / 1.041 GB, free: 1.734 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005517/0.8198, allocations: 3.803 MB / 1.044 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.8198, allocations: 4 kB / 1.044 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.8205, allocations: 155.8 kB / 1.045 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003512/0.8208, allocations: 147.5 kB / 1.045 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.8209, allocations: 23.88 kB / 1.045 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/0.8209, allocations: 11.94 kB / 1.045 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8209, allocations: 0 / 1.045 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.8229, allocations: 1.472 MB / 1.046 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.8234, allocations: 267.8 kB / 1.046 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.8236, allocations: 23.91 kB / 1.047 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.8243, allocations: 63.91 kB / 1.047 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.8245, allocations: 64.36 kB / 1.047 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.8245, allocations: 23.98 kB / 1.047 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009593/0.8255, allocations: 0.6953 MB / 1.047 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8255, allocations: 4 kB / 1.047 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001391/0.8269, allocations: 388 kB / 1.048 GB, free: 10.37 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.002387/0.8293, allocations: 2.037 MB / 1.05 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002836/0.8321, allocations: 2.007 MB / 1.052 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8322, allocations: 0 / 1.052 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009303/0.8331, allocations: 0.8674 MB / 1.053 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.8347, allocations: 264.8 kB / 1.053 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.8522, allocations: 13.33 MB / 1.066 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.8542, allocations: 1.92 MB / 1.068 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001142/0.8553, allocations: 453.3 kB / 1.068 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008758/0.8562, allocations: 0.7141 MB / 1.069 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.8562, allocations: 0 / 1.069 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05178/0.908, allocations: 27.29 MB / 1.095 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.401/10.31, allocations: 2.406 kB / 1.095 GB, free: 8.688 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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