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.001472/0.001472, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001759/0.001759, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.57 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.399/2.399, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 55.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.8111, allocations: 140.4 MB / 0.9492 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01702/0.8281, allocations: 15.92 MB / 0.9648 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008448/0.8366, allocations: 4.771 MB / 0.9694 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.8382, allocations: 57.81 kB / 0.9695 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.8411, allocations: 0.9736 MB / 0.9705 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.8433, allocations: 0.6833 MB / 0.9711 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.8457, allocations: 0.8309 MB / 0.9719 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004317/0.8501, allocations: 3.627 MB / 0.9755 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007664/0.8578, allocations: 5.835 MB / 0.9812 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.8602, allocations: 1.601 MB / 0.9827 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.8625, allocations: 1.87 MB / 0.9846 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004182/0.863, allocations: 336 kB / 0.9849 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.8644, allocations: 0.7997 MB / 0.9857 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.8655, allocations: 1.333 MB / 0.987 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.867, allocations: 1.451 MB / 0.9884 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004521/0.8715, allocations: 5.13 MB / 0.9934 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.8716, allocations: 0 / 0.9934 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8716, allocations: 0 / 0.9934 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.606e-05/0.8717, allocations: 4 kB / 0.9934 GB, free: 4.707 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.00455/0.8762, allocations: 2.654 MB / 0.996 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.8763, allocations: 8.031 kB / 0.996 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004496/0.8767, allocations: 378.5 kB / 0.9964 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.8807, allocations: 0.8329 MB / 0.9972 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.8831, allocations: 1.498 MB / 0.9986 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.8832, allocations: 177.1 kB / 0.9988 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.8836, allocations: 236.4 kB / 0.999 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005931/0.8895, allocations: 4.163 MB / 1.003 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.8896, allocations: 7.906 kB / 1.003 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.8899, allocations: 95.98 kB / 1.003 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.89, allocations: 172.5 kB / 1.003 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005256/0.8953, allocations: 3.632 MB / 1.007 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.9121, allocations: 16.56 MB / 1.023 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.9152, allocations: 2.288 MB / 1.025 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/0.916, allocations: 0.5741 MB / 1.026 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.9161, allocations: 93.66 kB / 1.026 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.9162, allocations: 43.12 kB / 1.026 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.9162, allocations: 4 kB / 1.026 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.005224/0.9214, allocations: 3.42 MB / 1.029 GB, free: 13.83 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.9215, allocations: 119.4 kB / 1.029 GB, free: 13.69 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.9227, allocations: 1.014 MB / 1.03 GB, free: 12.65 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.9227, allocations: 41.7 kB / 1.03 GB, free: 12.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005935/0.9233, allocations: 1.103 MB / 1.032 GB, free: 11.48 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.9235, allocations: 276.2 kB / 1.032 GB, free: 11.21 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.9239, allocations: 279.2 kB / 1.032 GB, free: 10.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9241, allocations: 418.7 kB / 1.032 GB, free: 10.52 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008621/0.925, allocations: 0.6167 MB / 1.033 GB, free: 9.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.9262, allocations: 1.185 MB / 1.034 GB, free: 8.453 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.9283, allocations: 1.868 MB / 1.036 GB, free: 6.324 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.9283, allocations: 4 kB / 1.036 GB, free: 6.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003004/0.9314, allocations: 2.018 MB / 1.038 GB, free: 4.281 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.9314, allocations: 12 kB / 1.038 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.9314, allocations: 20 kB / 1.038 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004201/0.9319, allocations: 167.7 kB / 1.038 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.933, allocations: 347.4 kB / 1.039 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.577e-05/0.933, allocations: 43.8 kB / 1.039 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/0.934, allocations: 131.7 kB / 1.039 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.9341, allocations: 68 kB / 1.039 GB, free: 3.496 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.001225/0.9353, allocations: 0.9738 MB / 1.04 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.9355, allocations: 114.6 kB / 1.04 GB, free: 2.398 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.9374, allocations: 1.233 MB / 1.041 GB, free: 1.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9375, allocations: 12 kB / 1.041 GB, free: 1.125 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9375, allocations: 0 / 1.041 GB, free: 1.125 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.9375, allocations: 8.078 kB / 1.041 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.9426, allocations: 3.804 MB / 1.045 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9427, allocations: 4 kB / 1.045 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.9432, allocations: 155.8 kB / 1.045 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003458/0.9436, allocations: 143.5 kB / 1.045 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.9437, allocations: 24 kB / 1.045 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.9437, allocations: 11.94 kB / 1.045 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9437, allocations: 0 / 1.045 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.9455, allocations: 1.468 MB / 1.047 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.9459, allocations: 267.8 kB / 1.047 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.9461, allocations: 23.91 kB / 1.047 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.9466, allocations: 67.89 kB / 1.047 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.9468, allocations: 64.36 kB / 1.047 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.9468, allocations: 20 kB / 1.047 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008477/0.9477, allocations: 0.6992 MB / 1.048 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9477, allocations: 0 / 1.048 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001537/0.9493, allocations: 388 kB / 1.048 GB, free: 9.75 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.002272/0.9515, allocations: 2.037 MB / 1.05 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002773/0.9543, allocations: 2.006 MB / 1.052 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9543, allocations: 0 / 1.052 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009681/0.9553, allocations: 0.868 MB / 1.053 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.9567, allocations: 274.5 kB / 1.053 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.975, allocations: 14.3 MB / 1.067 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.9768, allocations: 1.92 MB / 1.069 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00115/0.9779, allocations: 445.6 kB / 1.069 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008458/0.9788, allocations: 0.7141 MB / 1.07 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of SimCode: time 7.82e-07/0.9788, allocations: 0 / 1.07 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04426/1.023, allocations: 27.24 MB / 1.097 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.023, allocations: 240.7 kB / 1.097 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/3.109, allocations: 0 / 1.097 GB, free: 6.949 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