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.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: "" <> 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.0009704/0.0009704, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.006509/0.006509, allocations: 172 kB / 16.26 MB, free: 6.613 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.065/2.065, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5211, allocations: 142.4 MB / 0.9552 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01325/0.5344, allocations: 15.37 MB / 0.9702 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006826/0.5412, allocations: 4.777 MB / 0.9749 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.5422, allocations: 59.31 kB / 0.9749 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.5428, allocations: 255.1 kB / 0.9752 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.5444, allocations: 0.6859 MB / 0.9758 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.5459, allocations: 0.6714 MB / 0.9765 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004494/0.5504, allocations: 5.269 MB / 0.9816 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007108/0.5576, allocations: 5.823 MB / 0.9873 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.5591, allocations: 1.097 MB / 0.9884 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.5611, allocations: 1.51 MB / 0.9899 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.5614, allocations: 144 kB / 0.99 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.5627, allocations: 0.7331 MB / 0.9907 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008702/0.5636, allocations: 1.076 MB / 0.9918 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009656/0.5645, allocations: 1.187 MB / 0.9929 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.5679, allocations: 4.893 MB / 0.9977 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5679, allocations: 0 / 0.9977 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5679, allocations: 0 / 0.9977 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.568, allocations: 0 / 0.9977 GB, free: 3.602 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.00306/0.571, allocations: 2.167 MB / 0.9998 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5711, allocations: 12.03 kB / 0.9998 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004035/0.5715, allocations: 374.5 kB / 1 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/0.5749, allocations: 0.8368 MB / 1.001 GB, free: 152 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.5768, allocations: 1.505 MB / 1.002 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.5769, allocations: 177.1 kB / 1.003 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.5773, allocations: 232.3 kB / 1.003 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005242/0.5825, allocations: 4.175 MB / 1.007 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.5826, allocations: 4 kB / 1.007 GB, free: 9.879 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.5828, allocations: 95.98 kB / 1.007 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.583, allocations: 168.5 kB / 1.007 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004653/0.5876, allocations: 3.644 MB / 1.011 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.601, allocations: 16.57 MB / 1.027 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.6039, allocations: 2.292 MB / 1.029 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.6046, allocations: 0.578 MB / 1.03 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.6047, allocations: 97.64 kB / 1.03 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.6047, allocations: 39.12 kB / 1.03 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 1.833e-06/0.6047, allocations: 0 / 1.03 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.004289/0.609, allocations: 3.455 MB / 1.033 GB, free: 13.15 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.6091, allocations: 123.4 kB / 1.033 GB, free: 13 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.6101, allocations: 1.022 MB / 1.034 GB, free: 11.95 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.6102, allocations: 37.7 kB / 1.034 GB, free: 11.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/0.6107, allocations: 1.099 MB / 1.035 GB, free: 10.79 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.6109, allocations: 272.2 kB / 1.036 GB, free: 10.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.611, allocations: 117.7 kB / 1.036 GB, free: 10.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6112, allocations: 414.7 kB / 1.036 GB, free: 9.988 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008103/0.612, allocations: 0.6246 MB / 1.037 GB, free: 9.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.6131, allocations: 1.189 MB / 1.038 GB, free: 7.914 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.6149, allocations: 1.872 MB / 1.04 GB, free: 5.781 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.615, allocations: 8 kB / 1.04 GB, free: 5.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002591/0.6176, allocations: 2.026 MB / 1.042 GB, free: 3.727 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6176, allocations: 12.62 kB / 1.042 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.6176, allocations: 20 kB / 1.042 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.618, allocations: 171.2 kB / 1.042 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/0.619, allocations: 343.4 kB / 1.042 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.619, allocations: 39.86 kB / 1.042 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.6198, allocations: 139.7 kB / 1.043 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/0.6199, allocations: 68 kB / 1.043 GB, free: 2.938 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.0009746/0.6209, allocations: 0.9777 MB / 1.044 GB, free: 1.949 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.621, allocations: 114.6 kB / 1.044 GB, free: 1.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.6228, allocations: 1.234 MB / 1.045 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6229, allocations: 8 kB / 1.045 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6229, allocations: 4 kB / 1.045 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.6229, allocations: 7.984 kB / 1.045 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.6272, allocations: 3.823 MB / 1.049 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6273, allocations: 4 kB / 1.049 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.6278, allocations: 155.9 kB / 1.049 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.6281, allocations: 147.5 kB / 1.049 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.6282, allocations: 19.98 kB / 1.049 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.6282, allocations: 7.938 kB / 1.049 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6282, allocations: 4 kB / 1.049 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.6298, allocations: 1.472 MB / 1.05 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.6301, allocations: 291.6 kB / 1.051 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6302, allocations: 23.98 kB / 1.051 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.6308, allocations: 71.91 kB / 1.051 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6309, allocations: 68.3 kB / 1.051 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.631, allocations: 20 kB / 1.051 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007027/0.6317, allocations: 0.6953 MB / 1.051 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6317, allocations: 0 / 1.051 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009806/0.6327, allocations: 388 kB / 1.052 GB, free: 9.145 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.001869/0.6345, allocations: 2.048 MB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.6364, allocations: 1.715 MB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6364, allocations: 0 / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008085/0.6372, allocations: 0.8744 MB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.6387, allocations: 244 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.6536, allocations: 14.36 MB / 1.071 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.6551, allocations: 1.916 MB / 1.073 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009445/0.656, allocations: 457.6 kB / 1.073 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007271/0.6567, allocations: 0.7141 MB / 1.074 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.6567, allocations: 0 / 1.074 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.836/2.493, allocations: 26.43 MB / 1.099 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/2.493, allocations: 247.4 kB / 1.1 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/4.861, allocations: 4 kB / 1.1 GB, free: 7.375 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