Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_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.007832/0.007839, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.00167/0.00167, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7228, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01963/0.7425, allocations: 16.03 MB / 1.182 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008095/0.7506, allocations: 4.812 MB / 1.187 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007386/0.7514, allocations: 67.62 kB / 1.187 GB, free: 14.83 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.754, allocations: 1.052 MB / 1.188 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.7555, allocations: 0.7386 MB / 1.188 GB, free: 13.03 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.7576, allocations: 0.9185 MB / 1.189 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.7614, allocations: 3.614 MB / 1.193 GB, free: 8.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005426/0.7668, allocations: 4.762 MB / 1.197 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.7691, allocations: 1.589 MB / 1.199 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.7718, allocations: 1.776 MB / 1.201 GB, free: 292 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006385/0.7725, allocations: 340 kB / 1.201 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.7743, allocations: 0.7919 MB / 1.202 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.7758, allocations: 1.333 MB / 1.203 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.7775, allocations: 1.455 MB / 1.204 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.7827, allocations: 5.147 MB / 1.21 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7827, allocations: 0 / 1.21 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7827, allocations: 4 kB / 1.21 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.039e-05/0.7828, allocations: 0 / 1.21 GB, free: 7.199 MB / 0.9356 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.005619/0.7885, allocations: 2.717 MB / 1.212 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.7885, allocations: 8.922 kB / 1.212 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005275/0.7891, allocations: 370.5 kB / 1.213 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004087/0.7932, allocations: 0.8499 MB / 1.213 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.796, allocations: 1.568 MB / 1.215 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.7962, allocations: 177.1 kB / 1.215 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005252/0.7967, allocations: 228.4 kB / 1.215 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007652/0.8044, allocations: 4.165 MB / 1.219 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.8045, allocations: 11.94 kB / 1.219 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.8048, allocations: 95.98 kB / 1.219 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/0.805, allocations: 168.5 kB / 1.22 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006572/0.8116, allocations: 3.636 MB / 1.223 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/0.8325, allocations: 16.44 MB / 1.239 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.836, allocations: 2.296 MB / 1.241 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008978/0.837, allocations: 0.578 MB / 1.242 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.8371, allocations: 105.6 kB / 1.242 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.8372, allocations: 43.06 kB / 1.242 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=72): time 2.796e-06/0.8372, allocations: 0 / 1.242 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.005581/0.8428, allocations: 3.506 MB / 1.246 GB, free: 224 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.8429, allocations: 115.5 kB / 1.246 GB, free: 84 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.8442, allocations: 1.018 MB / 1.247 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.8443, allocations: 37.7 kB / 1.247 GB, free: 15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008074/0.8451, allocations: 1.138 MB / 1.248 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.8453, allocations: 293.6 kB / 1.248 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/0.8457, allocations: 275.4 kB / 1.248 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.846, allocations: 418.7 kB / 1.249 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009577/0.847, allocations: 0.6207 MB / 1.249 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.8484, allocations: 1.189 MB / 1.251 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.8508, allocations: 1.856 MB / 1.252 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.8508, allocations: 8 kB / 1.252 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00325/0.8541, allocations: 2.019 MB / 1.254 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.8541, allocations: 16.69 kB / 1.254 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.8542, allocations: 16 kB / 1.254 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.8546, allocations: 167.3 kB / 1.255 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.8557, allocations: 343.4 kB / 1.255 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-05/0.8558, allocations: 39.86 kB / 1.255 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.8567, allocations: 131.8 kB / 1.255 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.8568, allocations: 67.98 kB / 1.255 GB, free: 5.836 MB / 0.9825 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.001451/0.8583, allocations: 0.9717 MB / 1.256 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.8585, allocations: 119.2 kB / 1.256 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.8607, allocations: 1.234 MB / 1.257 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.8607, allocations: 12 kB / 1.257 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.8607, allocations: 7.938 kB / 1.257 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.8608, allocations: 3.984 kB / 1.257 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/0.8663, allocations: 3.798 MB / 1.261 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.8664, allocations: 4 kB / 1.261 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.867, allocations: 156 kB / 1.261 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/0.8674, allocations: 143.3 kB / 1.261 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.8674, allocations: 16 kB / 1.261 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.8674, allocations: 7.938 kB / 1.261 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.8674, allocations: 7.938 kB / 1.261 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.8695, allocations: 1.47 MB / 1.263 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.87, allocations: 280.2 kB / 1.263 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.8701, allocations: 20 kB / 1.263 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.8707, allocations: 59.91 kB / 1.263 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.8709, allocations: 68.36 kB / 1.263 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.8709, allocations: 23.98 kB / 1.263 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009963/0.8719, allocations: 0.6953 MB / 1.264 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8719, allocations: 0 / 1.264 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001342/0.8733, allocations: 388 kB / 1.264 GB, free: 12.11 MB / 0.9981 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.002453/0.8757, allocations: 2.041 MB / 1.266 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.8783, allocations: 1.723 MB / 1.268 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8784, allocations: 0 / 1.268 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.8794, allocations: 0.8631 MB / 1.269 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8808, allocations: 273.9 kB / 1.269 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.9009, allocations: 12.9 MB / 1.282 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/0.9028, allocations: 1.916 MB / 1.284 GB, free: 7.398 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001064/0.9039, allocations: 453.5 kB / 1.284 GB, free: 6.953 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009433/0.9048, allocations: 0.7102 MB / 1.285 GB, free: 6.242 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.9049, allocations: 0 / 1.285 GB, free: 6.242 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06099/0.9659, allocations: 27.89 MB / 1.312 GB, free: 10.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.35, allocations: 19.73 kB / 1.312 GB, free: 10.64 MB / 1.045 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches