Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.007556/0.007556, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001855/0.001855, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.221/2.221, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.84 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.7406, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04215/0.7828, allocations: 37.27 MB / 1.124 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0239/0.8067, allocations: 13.71 MB / 1.137 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004307/0.8111, allocations: 114.1 kB / 1.137 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.006605/0.8177, allocations: 2.272 MB / 1.14 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.8221, allocations: 1.43 MB / 1.141 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009682/0.8318, allocations: 3.525 MB / 1.144 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008254/0.8401, allocations: 6.384 MB / 1.151 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.8531, allocations: 9.876 MB / 1.16 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.8576, allocations: 2.739 MB / 1.163 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00625/0.8639, allocations: 3.198 MB / 1.166 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002414/0.8663, allocations: 0.6198 MB / 1.167 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/0.8711, allocations: 1.267 MB / 1.168 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006543/0.8777, allocations: 2.474 MB / 1.17 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007337/0.8851, allocations: 2.554 MB / 1.173 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.8982, allocations: 9.161 MB / 1.182 GB, free: 11.19 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.8983, allocations: 0 / 1.182 GB, free: 11.19 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8983, allocations: 0 / 1.182 GB, free: 11.19 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004101/0.8987, allocations: 1.094 kB / 1.182 GB, free: 11.19 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01496/0.9137, allocations: 4.313 MB / 1.186 GB, free: 8.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.9137, allocations: 9.969 kB / 1.186 GB, free: 8.297 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002182/0.9159, allocations: 0.635 MB / 1.187 GB, free: 7.848 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005834/0.9218, allocations: 1.034 MB / 1.188 GB, free: 7.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005873/0.9277, allocations: 2.229 MB / 1.19 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.928, allocations: 325 kB / 1.19 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/0.9298, allocations: 436.2 kB / 1.191 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.9471, allocations: 7.408 MB / 1.198 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.9472, allocations: 7.938 kB / 1.198 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005462/0.9478, allocations: 184 kB / 1.198 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003368/0.9481, allocations: 290.9 kB / 1.198 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.9584, allocations: 6.022 MB / 1.204 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03576/0.9942, allocations: 32.46 MB / 1.236 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.9976, allocations: 2.134 MB / 1.238 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.9992, allocations: 1.248 MB / 1.239 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.9993, allocations: 102.1 kB / 1.239 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.9994, allocations: 51.5 kB / 1.239 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 2.886e-06/0.9994, allocations: 0 / 1.239 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.00862/1.008, allocations: 5.27 MB / 1.244 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/1.008, allocations: 146.1 kB / 1.245 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/1.01, allocations: 1.476 MB / 1.246 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.01, allocations: 45.7 kB / 1.246 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.011, allocations: 1.859 MB / 1.248 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/1.012, allocations: 374.8 kB / 1.248 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006536/1.012, allocations: 463.1 kB / 1.249 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/1.012, allocations: 309.1 kB / 1.249 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/1.014, allocations: 1.145 MB / 1.25 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/1.016, allocations: 2.215 MB / 1.252 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00402/1.02, allocations: 3.431 MB / 1.256 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/1.02, allocations: 8 kB / 1.256 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005099/1.026, allocations: 3.374 MB / 1.259 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/1.026, allocations: 21 kB / 1.259 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/1.026, allocations: 32 kB / 1.259 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.978e-05/1.026, allocations: 55.94 kB / 1.259 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.028, allocations: 0.6317 MB / 1.26 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-05/1.028, allocations: 67.73 kB / 1.26 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.03, allocations: 322.7 kB / 1.26 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/1.03, allocations: 120 kB / 1.26 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004166/1.034, allocations: 2.432 MB / 1.262 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002052/1.036, allocations: 2.043 MB / 1.264 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003455/1.04, allocations: 3.06 MB / 1.267 GB, free: 228 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.531e-05/1.04, allocations: 12 kB / 1.267 GB, free: 216 kB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004412/1.044, allocations: 2.98 MB / 1.27 GB, free: 13.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.044, allocations: 20 kB / 1.27 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/1.044, allocations: 36.88 kB / 1.27 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.809e-05/1.044, allocations: 48.14 kB / 1.27 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.046, allocations: 0.5615 MB / 1.271 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.313e-05/1.046, allocations: 75.66 kB / 1.271 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/1.048, allocations: 271 kB / 1.271 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/1.048, allocations: 115.9 kB / 1.271 GB, free: 12.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004573/1.049, allocations: 339.2 kB / 1.272 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/1.049, allocations: 154.1 kB / 1.272 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/1.053, allocations: 2.246 MB / 1.274 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/1.053, allocations: 15.94 kB / 1.274 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.053, allocations: 3.984 kB / 1.274 GB, free: 9.332 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.053, allocations: 3.984 kB / 1.274 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.067, allocations: 11 MB / 1.285 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.067, allocations: 12 kB / 1.285 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.068, allocations: 383.3 kB / 1.285 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/1.068, allocations: 16 kB / 1.285 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-05/1.069, allocations: 32 kB / 1.285 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/1.069, allocations: 23.92 kB / 1.285 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.069, allocations: 15.94 kB / 1.285 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/1.072, allocations: 2.76 MB / 1.288 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008703/1.073, allocations: 450.8 kB / 1.288 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/1.073, allocations: 43.89 kB / 1.289 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.074, allocations: 175.7 kB / 1.289 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/1.074, allocations: 100.2 kB / 1.289 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/1.074, allocations: 43.94 kB / 1.289 GB, free: 9.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001396/1.076, allocations: 1.005 MB / 1.29 GB, free: 8.859 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.076, allocations: 4 kB / 1.29 GB, free: 8.855 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003751/1.08, allocations: 1.133 MB / 1.291 GB, free: 7.723 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003346/1.083, allocations: 3.348 MB / 1.294 GB, free: 4.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005733/1.089, allocations: 4.074 MB / 1.298 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.089, allocations: 0 / 1.298 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.09, allocations: 1.059 MB / 1.299 GB, free: 15.08 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/1.092, allocations: 460.8 kB / 1.3 GB, free: 14.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/1.121, allocations: 21.81 MB / 1.321 GB, free: 7.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002897/1.124, allocations: 2.868 MB / 1.324 GB, free: 4.512 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002799/1.127, allocations: 1.227 MB / 1.325 GB, free: 3.277 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/1.129, allocations: 1.272 MB / 1.326 GB, free: 2.008 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/1.129, allocations: 0 / 1.326 GB, free: 2.008 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07073/1.2, allocations: 47.74 MB / 1.373 GB, free: 2.648 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.29, allocations: 18.03 kB / 1.373 GB, free: 2.637 MB / 1.107 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches