Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_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.008048/0.008048, allocations: 100.6 kB / 15.73 MB, free: 6.473 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.001726/0.001725, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2881, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03864/0.3268, allocations: 37.26 MB / 1.244 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6086/0.9354, allocations: 13.7 MB / 1.257 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003447/0.9389, allocations: 111 kB / 1.257 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00533/0.9442, allocations: 2.282 MB / 1.259 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.9482, allocations: 1.434 MB / 1.261 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008436/0.9566, allocations: 3.529 MB / 1.264 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008353/0.965, allocations: 6.382 MB / 1.27 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01472/0.9797, allocations: 9.882 MB / 1.28 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006704/0.9865, allocations: 2.771 MB / 1.283 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006962/0.9935, allocations: 3.198 MB / 1.286 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002526/0.9961, allocations: 0.6246 MB / 1.287 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/1, allocations: 1.257 MB / 1.288 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004776/1.005, allocations: 2.477 MB / 1.29 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006733/1.012, allocations: 2.548 MB / 1.293 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01539/1.027, allocations: 9.161 MB / 1.302 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.027, allocations: 0 / 1.302 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.935e-06/1.027, allocations: 1.219 kB / 1.302 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003311/1.028, allocations: 0 / 1.302 GB, free: 2.629 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01623/1.044, allocations: 4.31 MB / 1.306 GB, free: 304 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/1.044, allocations: 11.27 kB / 1.306 GB, free: 304 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003042/1.047, allocations: 0.646 MB / 1.306 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006508/1.054, allocations: 1.037 MB / 1.307 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006159/1.06, allocations: 2.228 MB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/1.06, allocations: 325.5 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/1.062, allocations: 425.5 kB / 1.31 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/1.081, allocations: 7.409 MB / 1.318 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/1.081, allocations: 12.69 kB / 1.318 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001289/1.082, allocations: 184.4 kB / 1.318 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003746/1.083, allocations: 289.1 kB / 1.318 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/1.096, allocations: 6.02 MB / 1.324 GB, free: 7.16 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04278/1.139, allocations: 32.46 MB / 1.356 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/1.143, allocations: 2.143 MB / 1.358 GB, free: 8.949 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.144, allocations: 1.243 MB / 1.359 GB, free: 8.227 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/1.145, allocations: 107.6 kB / 1.359 GB, free: 8.109 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.145, allocations: 47.5 kB / 1.359 GB, free: 8.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=98): time 4.027e-06/1.145, allocations: 0 / 1.359 GB, free: 8.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=101): time 0.01027/1.155, allocations: 5.27 MB / 1.364 GB, free: 2.734 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.155, allocations: 149.5 kB / 1.364 GB, free: 2.559 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/1.158, allocations: 1.472 MB / 1.366 GB, free: 1.074 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/1.158, allocations: 45.7 kB / 1.366 GB, free: 1.023 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/1.159, allocations: 1.86 MB / 1.368 GB, free: 15.15 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004693/1.159, allocations: 369.3 kB / 1.368 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008631/1.16, allocations: 467 kB / 1.368 GB, free: 14.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/1.16, allocations: 305.1 kB / 1.369 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/1.162, allocations: 1.145 MB / 1.37 GB, free: 12.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/1.164, allocations: 2.21 MB / 1.372 GB, free: 10.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/1.168, allocations: 3.438 MB / 1.375 GB, free: 6.238 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/1.168, allocations: 15.94 kB / 1.375 GB, free: 6.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005574/1.174, allocations: 3.367 MB / 1.379 GB, free: 2.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/1.174, allocations: 20 kB / 1.379 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/1.174, allocations: 40.12 kB / 1.379 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.016e-05/1.174, allocations: 48 kB / 1.379 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/1.177, allocations: 0.6316 MB / 1.379 GB, free: 2.113 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.504e-05/1.177, allocations: 63.8 kB / 1.38 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/1.179, allocations: 338.6 kB / 1.38 GB, free: 1.719 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003279/1.179, allocations: 116 kB / 1.38 GB, free: 1.605 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004537/1.184, allocations: 2.428 MB / 1.382 GB, free: 15.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002335/1.186, allocations: 2.046 MB / 1.384 GB, free: 12.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003644/1.19, allocations: 3.065 MB / 1.387 GB, free: 9.043 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-05/1.19, allocations: 8 kB / 1.387 GB, free: 9.035 MB / 1.076 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005228/1.195, allocations: 2.979 MB / 1.39 GB, free: 6.051 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/1.195, allocations: 21 kB / 1.39 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.837e-05/1.195, allocations: 32.06 kB / 1.39 GB, free: 6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.79e-05/1.195, allocations: 56 kB / 1.39 GB, free: 5.945 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/1.197, allocations: 0.5615 MB / 1.391 GB, free: 5.383 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.441e-05/1.197, allocations: 75.66 kB / 1.391 GB, free: 5.309 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.2, allocations: 263 kB / 1.391 GB, free: 5.051 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002946/1.2, allocations: 120 kB / 1.391 GB, free: 4.934 MB / 1.076 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.0006744/1.201, allocations: 335.2 kB / 1.392 GB, free: 4.598 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/1.201, allocations: 162.1 kB / 1.392 GB, free: 4.438 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/1.205, allocations: 2.242 MB / 1.394 GB, free: 2.184 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.205, allocations: 11.94 kB / 1.394 GB, free: 2.172 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/1.205, allocations: 4 kB / 1.394 GB, free: 2.168 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.205, allocations: 3.984 kB / 1.394 GB, free: 2.164 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/1.222, allocations: 11 MB / 1.405 GB, free: 6.938 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/1.222, allocations: 12 kB / 1.405 GB, free: 6.926 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.224, allocations: 383.3 kB / 1.405 GB, free: 6.551 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.548e-05/1.224, allocations: 16 kB / 1.405 GB, free: 6.535 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/1.224, allocations: 28 kB / 1.405 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-05/1.224, allocations: 23.92 kB / 1.405 GB, free: 6.484 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/1.224, allocations: 16.34 kB / 1.405 GB, free: 6.469 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/1.227, allocations: 2.765 MB / 1.408 GB, free: 3.539 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.228, allocations: 454.8 kB / 1.408 GB, free: 3.074 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/1.229, allocations: 39.91 kB / 1.408 GB, free: 3.035 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.231, allocations: 175.7 kB / 1.409 GB, free: 2.863 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/1.231, allocations: 96.22 kB / 1.409 GB, free: 2.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.231, allocations: 44 kB / 1.409 GB, free: 2.727 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001981/1.233, allocations: 1.009 MB / 1.41 GB, free: 1.719 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.31e-07/1.233, allocations: 3.938 kB / 1.41 GB, free: 1.715 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005775/1.239, allocations: 1.133 MB / 1.411 GB, free: 0.582 MB / 1.092 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.004452/1.243, allocations: 3.348 MB / 1.414 GB, free: 13.07 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006935/1.25, allocations: 4.066 MB / 1.418 GB, free: 9.016 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.96e-05/1.25, allocations: 4 kB / 1.418 GB, free: 9.012 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/1.252, allocations: 1.057 MB / 1.419 GB, free: 7.953 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/1.255, allocations: 453.2 kB / 1.419 GB, free: 7.535 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03651/1.292, allocations: 21.81 MB / 1.441 GB, free: 300 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004947/1.297, allocations: 2.864 MB / 1.444 GB, free: 13.4 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003295/1.3, allocations: 1.231 MB / 1.445 GB, free: 12.16 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002382/1.303, allocations: 1.269 MB / 1.446 GB, free: 10.89 MB / 1.139 GB Notification: Performance of SimCode: time 1.022e-06/1.303, allocations: 0 / 1.446 GB, free: 10.89 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08012/1.383, allocations: 47.9 MB / 1.493 GB, free: 11.48 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.921/11.3, allocations: 3.984 kB / 1.493 GB, free: 11.47 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches