Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.0009726/0.0009726, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001208/0.001208, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.4 MB / 0.6655 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 12 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9278/0.9282, allocations: 142.3 MB / 0.9539 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004509/0.9328, allocations: 3.745 MB / 0.9575 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003295/0.9361, allocations: 2.221 MB / 0.9597 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.9365, allocations: 18.66 kB / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.9367, allocations: 67.83 kB / 0.9598 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007648/0.9375, allocations: 285.9 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.9382, allocations: 234 kB / 0.9603 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007292/0.9389, allocations: 0.7295 MB / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007612/0.9397, allocations: 423.3 kB / 0.9614 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.9401, allocations: 219.6 kB / 0.9616 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.9405, allocations: 256.2 kB / 0.9618 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.9405, allocations: 20.72 kB / 0.9619 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.9411, allocations: 213.6 kB / 0.9621 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.9413, allocations: 125.1 kB / 0.9622 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.9414, allocations: 109 kB / 0.9623 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.942, allocations: 0.5365 MB / 0.9628 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.9421, allocations: 0 / 0.9628 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.297e-06/0.9421, allocations: 0 / 0.9628 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.9421, allocations: 0 / 0.9628 GB, free: 1.363 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001325/0.9434, allocations: 0.7191 MB / 0.9635 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.098e-05/0.9435, allocations: 8.781 kB / 0.9635 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.9436, allocations: 77.27 kB / 0.9636 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.9451, allocations: 187.8 kB / 0.9638 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.9456, allocations: 394.5 kB / 0.9641 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.9457, allocations: 25.86 kB / 0.9642 GB, free: 220 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.9457, allocations: 34.06 kB / 0.9642 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.9467, allocations: 0.6492 MB / 0.9648 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.9467, allocations: 6.25 kB / 0.9648 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.9468, allocations: 18.42 kB / 0.9649 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-05/0.9469, allocations: 56.12 kB / 0.9649 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.9477, allocations: 496.1 kB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.9515, allocations: 3.785 MB / 0.9691 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.9533, allocations: 0.6179 MB / 0.9697 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.9536, allocations: 177.5 kB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.9536, allocations: 6.219 kB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.9537, allocations: 40.78 kB / 0.9699 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/0.9537, allocations: 4.875 kB / 0.9699 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002629/0.9563, allocations: 1.286 MB / 0.9712 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.9564, allocations: 106.9 kB / 0.9713 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.9569, allocations: 393.3 kB / 0.9716 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.9569, allocations: 30.67 kB / 0.9717 GB, free: 10 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.9572, allocations: 286.8 kB / 0.9719 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.9573, allocations: 109.9 kB / 0.972 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.9574, allocations: 9.688 kB / 0.9721 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002443/0.9576, allocations: 361.8 kB / 0.9724 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.958, allocations: 172.8 kB / 0.9726 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.9585, allocations: 372.7 kB / 0.9729 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.9589, allocations: 233.3 kB / 0.9731 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9589, allocations: 2.156 kB / 0.9731 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001391/0.9603, allocations: 0.6761 MB / 0.9738 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.9604, allocations: 13.36 kB / 0.9738 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.9604, allocations: 6.562 kB / 0.9738 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.9608, allocations: 92.23 kB / 0.9739 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.9613, allocations: 112 kB / 0.974 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.9648, allocations: 4.038 MB / 0.978 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.9653, allocations: 26.3 kB / 0.978 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.9653, allocations: 28.14 kB / 0.978 GB, free: 4.148 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003305/0.9657, allocations: 200.5 kB / 0.9782 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.9658, allocations: 43.47 kB / 0.9782 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.9669, allocations: 0.52 MB / 0.9788 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.9669, allocations: 8.969 kB / 0.9788 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9669, allocations: 1.156 kB / 0.9788 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.9669, allocations: 0.7188 kB / 0.9788 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.9689, allocations: 1.285 MB / 0.98 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9689, allocations: 6.438 kB / 0.98 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.9692, allocations: 61.03 kB / 0.9801 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.9694, allocations: 91.66 kB / 0.9802 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.9695, allocations: 8.125 kB / 0.9802 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003113/0.9726, allocations: 4.019 MB / 0.9841 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.9726, allocations: 7.188 kB / 0.9841 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.9736, allocations: 0.7867 MB / 0.9849 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.9739, allocations: 160.5 kB / 0.985 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.9739, allocations: 8.781 kB / 0.985 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.9742, allocations: 22.47 kB / 0.9851 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.9743, allocations: 34.22 kB / 0.9851 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.9743, allocations: 9.844 kB / 0.9851 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003718/0.9747, allocations: 277.7 kB / 0.9854 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9747, allocations: 3.938 kB / 0.9854 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007748/0.9755, allocations: 125.2 kB / 0.9855 GB, free: 13.43 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.9767, allocations: 1.315 MB / 0.9868 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.978, allocations: 0.8044 MB / 0.9876 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.978, allocations: 4.062 kB / 0.9876 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.9787, allocations: 0.547 MB / 0.9881 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.9796, allocations: 133.3 kB / 0.9882 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.9835, allocations: 2.8 MB / 0.991 GB, free: 8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.984, allocations: 0.8625 MB / 0.9918 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.9843, allocations: 104.5 kB / 0.9919 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.9845, allocations: 147.4 kB / 0.992 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of SimCode: time 1.032e-06/0.9846, allocations: 3.938 kB / 0.992 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/1.009, allocations: 9.417 MB / 1.001 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.009, allocations: 224.4 kB / 1.001 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/3.002, allocations: 0 / 1.001 GB, free: 13.43 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat