Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_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.007688/0.007688, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002017/0.002017, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 68.3 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3247, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01968/0.3444, allocations: 16.02 MB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008285/0.3528, allocations: 4.824 MB / 1.241 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.354, allocations: 63.69 kB / 1.241 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.3569, allocations: 1.053 MB / 1.242 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.3589, allocations: 0.7425 MB / 1.242 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.3615, allocations: 0.9154 MB / 1.243 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004447/0.3659, allocations: 3.614 MB / 1.247 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6114/0.9773, allocations: 4.758 MB / 1.251 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.9801, allocations: 1.583 MB / 1.253 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.9836, allocations: 1.795 MB / 1.255 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008089/0.9844, allocations: 340.4 kB / 1.255 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.9862, allocations: 0.7911 MB / 1.256 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.9876, allocations: 1.321 MB / 1.257 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.9893, allocations: 1.459 MB / 1.259 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006292/0.9956, allocations: 5.14 MB / 1.264 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.9956, allocations: 7.875 kB / 1.264 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9956, allocations: 0 / 1.264 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001761/0.9958, allocations: 3 kB / 1.264 GB, free: 9.656 MB / 0.9981 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.007419/1.003, allocations: 2.711 MB / 1.266 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.003, allocations: 10.25 kB / 1.266 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008304/1.004, allocations: 369.2 kB / 1.267 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/1.009, allocations: 0.8524 MB / 1.267 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/1.013, allocations: 1.567 MB / 1.269 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/1.013, allocations: 180.6 kB / 1.269 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009342/1.014, allocations: 233.1 kB / 1.269 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00941/1.023, allocations: 4.168 MB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.465e-05/1.023, allocations: 7.141 kB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/1.024, allocations: 100.2 kB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002345/1.024, allocations: 168.6 kB / 1.274 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007031/1.031, allocations: 3.634 MB / 1.277 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/1.053, allocations: 16.44 MB / 1.293 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/1.057, allocations: 2.289 MB / 1.295 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/1.058, allocations: 0.586 MB / 1.296 GB, free: 9.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/1.059, allocations: 92.2 kB / 1.296 GB, free: 9.746 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.059, allocations: 49.94 kB / 1.296 GB, free: 9.695 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.035e-06/1.059, allocations: 1.125 kB / 1.296 GB, free: 9.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.006313/1.065, allocations: 3.499 MB / 1.3 GB, free: 7.719 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/1.065, allocations: 118.1 kB / 1.3 GB, free: 7.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/1.067, allocations: 1.014 MB / 1.301 GB, free: 7.176 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/1.067, allocations: 41.7 kB / 1.301 GB, free: 7.133 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000956/1.068, allocations: 1.142 MB / 1.302 GB, free: 6.254 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/1.068, allocations: 290.7 kB / 1.302 GB, free: 6.035 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/1.069, allocations: 279.8 kB / 1.302 GB, free: 5.898 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002894/1.069, allocations: 413.8 kB / 1.303 GB, free: 5.543 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.07, allocations: 0.6122 MB / 1.303 GB, free: 5.348 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/1.071, allocations: 1.186 MB / 1.305 GB, free: 4.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/1.074, allocations: 1.869 MB / 1.306 GB, free: 3.203 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.074, allocations: 5.812 kB / 1.306 GB, free: 3.203 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003625/1.078, allocations: 2.022 MB / 1.308 GB, free: 2.527 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/1.078, allocations: 13.91 kB / 1.308 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/1.078, allocations: 19.16 kB / 1.308 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/1.078, allocations: 162.9 kB / 1.309 GB, free: 2.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.079, allocations: 345.2 kB / 1.309 GB, free: 2.449 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.253e-05/1.079, allocations: 41.59 kB / 1.309 GB, free: 2.449 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.081, allocations: 127.1 kB / 1.309 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/1.081, allocations: 70.05 kB / 1.309 GB, free: 2.406 MB / 1.014 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.001913/1.083, allocations: 0.9778 MB / 1.31 GB, free: 1.977 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/1.083, allocations: 112.7 kB / 1.31 GB, free: 1.918 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/1.085, allocations: 1.232 MB / 1.311 GB, free: 1.418 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/1.085, allocations: 13.5 kB / 1.311 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.085, allocations: 1.094 kB / 1.311 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/1.085, allocations: 9.281 kB / 1.311 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006826/1.092, allocations: 3.814 MB / 1.315 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.092, allocations: 2.438 kB / 1.315 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/1.093, allocations: 158.5 kB / 1.315 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003633/1.093, allocations: 143 kB / 1.315 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/1.093, allocations: 18.72 kB / 1.315 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/1.093, allocations: 13.53 kB / 1.315 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.093, allocations: 2.375 kB / 1.315 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/1.096, allocations: 1.47 MB / 1.317 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005386/1.096, allocations: 280.7 kB / 1.317 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/1.096, allocations: 14.81 kB / 1.317 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/1.097, allocations: 66.27 kB / 1.317 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.097, allocations: 62.09 kB / 1.317 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/1.097, allocations: 21.03 kB / 1.317 GB, free: 14.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001015/1.098, allocations: 0.7014 MB / 1.318 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.098, allocations: 3.938 kB / 1.318 GB, free: 14.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001726/1.1, allocations: 387.6 kB / 1.318 GB, free: 14.31 MB / 1.029 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.00249/1.102, allocations: 2.041 MB / 1.32 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002597/1.105, allocations: 1.72 MB / 1.322 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.105, allocations: 1.375 kB / 1.322 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.106, allocations: 0.8595 MB / 1.323 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.108, allocations: 271.1 kB / 1.323 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.129, allocations: 12.91 MB / 1.336 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/1.131, allocations: 1.916 MB / 1.338 GB, free: 1.977 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001209/1.132, allocations: 454.4 kB / 1.338 GB, free: 1.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.133, allocations: 0.7148 MB / 1.339 GB, free: 1.133 MB / 1.029 GB Notification: Performance of SimCode: time 1.653e-06/1.133, allocations: 0 / 1.339 GB, free: 1.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06236/1.196, allocations: 27.89 MB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.47, allocations: 3.859 kB / 1.366 GB, free: 11.88 MB / 1.061 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches