Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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.001354/0.001354, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001667/0.001667, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.656/2.656, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.948/4.948, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006687/0.0006691, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388/1.389, allocations: 146.8 MB / 0.9809 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.0073/1.396, allocations: 3.639 MB / 0.9844 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00544/1.402, allocations: 2.188 MB / 0.9866 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006183/1.402, allocations: 19.81 kB / 0.9866 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004485/1.403, allocations: 59.59 kB / 0.9866 GB, free: 480 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/1.405, allocations: 275.2 kB / 0.9869 GB, free: 204 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/1.406, allocations: 239.4 kB / 0.9871 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001276/1.407, allocations: 436.8 kB / 0.9875 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/1.409, allocations: 414.8 kB / 0.9879 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006266/1.41, allocations: 203.2 kB / 0.9881 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007356/1.41, allocations: 211.1 kB / 0.9883 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/1.411, allocations: 16 kB / 0.9883 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009785/1.412, allocations: 179.7 kB / 0.9885 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/1.412, allocations: 115.6 kB / 0.9886 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002602/1.412, allocations: 105.5 kB / 0.9887 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/1.413, allocations: 0.5087 MB / 0.9892 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.413, allocations: 0 / 0.9892 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.476e-06/1.413, allocations: 3.938 kB / 0.9892 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.892e-05/1.413, allocations: 0 / 0.9892 GB, free: 13.78 MB / 0.7481 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.002114/1.416, allocations: 0.6935 MB / 0.9899 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.384e-05/1.416, allocations: 12.03 kB / 0.9899 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/1.416, allocations: 82.5 kB / 0.99 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/1.419, allocations: 175.2 kB / 0.9902 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.42, allocations: 391.5 kB / 0.9905 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/1.42, allocations: 28.97 kB / 0.9906 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/1.42, allocations: 35.95 kB / 0.9906 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/1.422, allocations: 0.6467 MB / 0.9912 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/1.422, allocations: 3.938 kB / 0.9912 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.931e-05/1.422, allocations: 19.98 kB / 0.9913 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/1.422, allocations: 55.91 kB / 0.9913 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.424, allocations: 0.4891 MB / 0.9918 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006083/1.43, allocations: 3.783 MB / 0.9955 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/1.433, allocations: 0.6364 MB / 0.9961 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/1.433, allocations: 4 kB / 0.9961 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/1.433, allocations: 38.5 kB / 0.9961 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 4.839e-06/1.433, allocations: 0 / 0.9961 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.004469/1.438, allocations: 1.268 MB / 0.9974 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.438, allocations: 108.5 kB / 0.9975 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008772/1.439, allocations: 397.8 kB / 0.9979 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/1.439, allocations: 37.7 kB / 0.9979 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/1.439, allocations: 279.4 kB / 0.9982 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/1.439, allocations: 114.4 kB / 0.9983 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/1.44, allocations: 12 kB / 0.9983 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002917/1.44, allocations: 354.8 kB / 0.9986 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/1.44, allocations: 173 kB / 0.9988 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008297/1.441, allocations: 379.2 kB / 0.9992 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/1.442, allocations: 236.1 kB / 0.9994 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/1.442, allocations: 4 kB / 0.9994 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00222/1.444, allocations: 0.6629 MB / 1 GB, free: 2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/1.444, allocations: 9.406 kB / 1 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.444, allocations: 8.719 kB / 1 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/1.445, allocations: 102.4 kB / 1 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009/1.446, allocations: 111.8 kB / 1 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/1.453, allocations: 4.065 MB / 1.004 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/1.453, allocations: 31.97 kB / 1.004 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/1.454, allocations: 27.94 kB / 1.004 GB, free: 13.25 MB / 0.7637 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.0005122/1.454, allocations: 193.6 kB / 1.004 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/1.454, allocations: 51.39 kB / 1.005 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/1.456, allocations: 0.5152 MB / 1.005 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.456, allocations: 7.984 kB / 1.005 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.456, allocations: 4 kB / 1.005 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.456, allocations: 3.984 kB / 1.005 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/1.46, allocations: 1.279 MB / 1.006 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.46, allocations: 4 kB / 1.006 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/1.461, allocations: 64.17 kB / 1.006 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005823/1.461, allocations: 90.5 kB / 1.006 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/1.461, allocations: 12 kB / 1.006 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00566/1.467, allocations: 4.056 MB / 1.01 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/1.467, allocations: 3.938 kB / 1.01 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/1.469, allocations: 0.894 MB / 1.011 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/1.47, allocations: 156.5 kB / 1.011 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/1.47, allocations: 11.98 kB / 1.011 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/1.471, allocations: 19.98 kB / 1.011 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/1.471, allocations: 40.12 kB / 1.011 GB, free: 5.176 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/1.471, allocations: 12 kB / 1.012 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005643/1.471, allocations: 279.1 kB / 1.012 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.685e-06/1.471, allocations: 3.938 kB / 1.012 GB, free: 4.891 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001369/1.473, allocations: 123.9 kB / 1.012 GB, free: 4.77 MB / 0.7637 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.003113/1.476, allocations: 2.22 MB / 1.014 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002611/1.478, allocations: 0.7937 MB / 1.015 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.479, allocations: 0 / 1.015 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/1.48, allocations: 0.5514 MB / 1.015 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/1.481, allocations: 123.1 kB / 1.015 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.492, allocations: 7.152 MB / 1.022 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/1.493, allocations: 0.8779 MB / 1.023 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007398/1.494, allocations: 104.5 kB / 1.023 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/1.494, allocations: 143.4 kB / 1.024 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of SimCode: time 1.313e-06/1.494, allocations: 4 kB / 1.024 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/1.536, allocations: 9.41 MB / 1.033 GB, free: 15.21 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/1.536, allocations: 214.7 kB / 1.033 GB, free: 14.97 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/4.634, allocations: 6.188 kB / 1.033 GB, free: 14.96 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat