Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_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.007619/0.007619, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001892/0.001892, allocations: 192.4 kB / 16.67 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 482.4 MB / 0.7548 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 64.52 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2847, allocations: 162.2 MB / 1.241 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01936/0.3041, allocations: 16.03 MB / 1.257 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007936/0.3121, allocations: 4.817 MB / 1.262 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008367/0.3129, allocations: 63.69 kB / 1.262 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.3156, allocations: 1.043 MB / 1.263 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.3171, allocations: 0.7503 MB / 1.264 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.3192, allocations: 0.9039 MB / 1.264 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003781/0.323, allocations: 3.618 MB / 1.268 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005251/0.3282, allocations: 4.773 MB / 1.273 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.3303, allocations: 1.578 MB / 1.274 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.3325, allocations: 1.788 MB / 1.276 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004596/0.3329, allocations: 340 kB / 1.276 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.3344, allocations: 0.788 MB / 1.277 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.3357, allocations: 1.329 MB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.3372, allocations: 1.463 MB / 1.28 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.3423, allocations: 5.148 MB / 1.285 GB, free: 12.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3423, allocations: 0 / 1.285 GB, free: 12.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3423, allocations: 0 / 1.285 GB, free: 12.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.207e-05/0.3423, allocations: 0 / 1.285 GB, free: 12.82 MB / 1.014 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.004737/0.3471, allocations: 2.713 MB / 1.287 GB, free: 10.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3471, allocations: 8.031 kB / 1.287 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004838/0.3476, allocations: 378.4 kB / 1.288 GB, free: 9.652 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003962/0.3516, allocations: 0.846 MB / 1.289 GB, free: 8.805 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.3541, allocations: 1.572 MB / 1.29 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.3542, allocations: 177.1 kB / 1.29 GB, free: 7.008 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/0.3546, allocations: 232.4 kB / 1.291 GB, free: 6.781 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006354/0.3609, allocations: 4.161 MB / 1.295 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.361, allocations: 11.94 kB / 1.295 GB, free: 2.469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/0.3613, allocations: 95.98 kB / 1.295 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/0.3615, allocations: 172.5 kB / 1.295 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005711/0.3672, allocations: 3.628 MB / 1.298 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.3855, allocations: 16.45 MB / 1.315 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.389, allocations: 2.289 MB / 1.317 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/0.3899, allocations: 0.5858 MB / 1.317 GB, free: 9.594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.3901, allocations: 97.66 kB / 1.317 GB, free: 9.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.3901, allocations: 43 kB / 1.317 GB, free: 9.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 2.735e-06/0.3902, allocations: 4 kB / 1.317 GB, free: 9.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.005596/0.3958, allocations: 3.51 MB / 1.321 GB, free: 5.816 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.3958, allocations: 111.5 kB / 1.321 GB, free: 5.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.3971, allocations: 1.026 MB / 1.322 GB, free: 4.629 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.3972, allocations: 33.7 kB / 1.322 GB, free: 4.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/0.398, allocations: 1.138 MB / 1.323 GB, free: 3.438 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.3982, allocations: 289.6 kB / 1.323 GB, free: 3.152 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.3986, allocations: 279.4 kB / 1.324 GB, free: 2.871 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.3989, allocations: 418.7 kB / 1.324 GB, free: 2.453 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009556/0.3998, allocations: 0.6129 MB / 1.325 GB, free: 1.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4012, allocations: 1.185 MB / 1.326 GB, free: 400 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.4036, allocations: 1.868 MB / 1.328 GB, free: 14.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.4037, allocations: 4 kB / 1.328 GB, free: 14.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003204/0.4069, allocations: 2.023 MB / 1.33 GB, free: 12.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.4069, allocations: 12 kB / 1.33 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.4069, allocations: 20 kB / 1.33 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.4074, allocations: 167.3 kB / 1.33 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4085, allocations: 343.4 kB / 1.33 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.932e-05/0.4086, allocations: 35.86 kB / 1.33 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008946/0.4095, allocations: 131.8 kB / 1.33 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4096, allocations: 67.98 kB / 1.33 GB, free: 11.44 MB / 1.061 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.00132/0.4109, allocations: 0.9733 MB / 1.331 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.4111, allocations: 115.2 kB / 1.331 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.4133, allocations: 1.234 MB / 1.333 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.4133, allocations: 12.08 kB / 1.333 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.4133, allocations: 3.938 kB / 1.333 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4133, allocations: 3.984 kB / 1.333 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.4188, allocations: 3.802 MB / 1.336 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.4188, allocations: 8.25 kB / 1.336 GB, free: 5.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.4195, allocations: 155.8 kB / 1.337 GB, free: 4.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000366/0.4198, allocations: 143.3 kB / 1.337 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.4199, allocations: 12 kB / 1.337 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/0.4199, allocations: 11.94 kB / 1.337 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4199, allocations: 3.938 kB / 1.337 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.4219, allocations: 1.47 MB / 1.338 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.4223, allocations: 276.3 kB / 1.338 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.4225, allocations: 20 kB / 1.338 GB, free: 2.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.4231, allocations: 63.91 kB / 1.338 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.4232, allocations: 64.36 kB / 1.339 GB, free: 2.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.4232, allocations: 20 kB / 1.339 GB, free: 2.797 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009043/0.4242, allocations: 0.6992 MB / 1.339 GB, free: 2.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4242, allocations: 0 / 1.339 GB, free: 2.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00127/0.4254, allocations: 388 kB / 1.34 GB, free: 1.707 MB / 1.061 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.00239/0.4278, allocations: 2.049 MB / 1.342 GB, free: 15.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.4302, allocations: 1.715 MB / 1.343 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4303, allocations: 64 / 1.343 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.4313, allocations: 0.8619 MB / 1.344 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4327, allocations: 275.6 kB / 1.344 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.4505, allocations: 12.91 MB / 1.357 GB, free: 14.94 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.4524, allocations: 1.924 MB / 1.359 GB, free: 12.98 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001055/0.4534, allocations: 445.6 kB / 1.359 GB, free: 12.55 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009068/0.4544, allocations: 0.7102 MB / 1.36 GB, free: 11.84 MB / 1.092 GB Notification: Performance of SimCode: time 4e-07/0.4544, allocations: 0 / 1.36 GB, free: 11.84 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05772/0.5121, allocations: 27.88 MB / 1.387 GB, free: 288 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12, allocations: 11.62 kB / 1.387 GB, free: 280 kB / 1.107 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches