Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 387.1 MB / 399.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009759/0.0009758, allocations: 184.8 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009742, allocations: 91.78 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.569e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2778, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.291, allocations: 179.8 MB / 1.388 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.292, allocations: 97.44 kB / 1.388 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04811/1.34, allocations: 21.12 MB / 1.409 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.34, allocations: 0 / 1.409 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.142e-05/1.34, allocations: 8 kB / 1.409 GB, free: 17.94 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001119/1.341, allocations: 0.5419 MB / 1.409 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.341, allocations: 12.03 kB / 1.409 GB, free: 17.36 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/1.341, allocations: 70.89 kB / 1.409 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/1.342, allocations: 107.5 kB / 1.41 GB, free: 17.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/1.343, allocations: 290.1 kB / 1.41 GB, free: 16.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.343, allocations: 23.48 kB / 1.41 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/1.343, allocations: 27.09 kB / 1.41 GB, free: 16.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/1.344, allocations: 427 kB / 1.41 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/1.344, allocations: 0 / 1.41 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/1.344, allocations: 10.69 kB / 1.41 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/1.344, allocations: 28.53 kB / 1.41 GB, free: 16.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/1.344, allocations: 342 kB / 1.411 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/1.347, allocations: 2.2 MB / 1.413 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/1.347, allocations: 272.7 kB / 1.413 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/1.347, allocations: 157.4 kB / 1.413 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/1.347, allocations: 4.188 kB / 1.413 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/1.347, allocations: 42.69 kB / 1.413 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/1.347, allocations: 0 / 1.413 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.001355/1.349, allocations: 0.8137 MB / 1.414 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.349, allocations: 55.36 kB / 1.414 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/1.349, allocations: 218.1 kB / 1.414 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/1.349, allocations: 33.58 kB / 1.414 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/1.349, allocations: 177.1 kB / 1.414 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/1.349, allocations: 96.88 kB / 1.415 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/1.349, allocations: 3.812 kB / 1.415 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.35, allocations: 337.2 kB / 1.415 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/1.35, allocations: 146.1 kB / 1.415 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/1.35, allocations: 233.1 kB / 1.415 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/1.35, allocations: 179.1 kB / 1.415 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.35, allocations: 4 kB / 1.415 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001029/1.351, allocations: 0.5628 MB / 1.416 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.351, allocations: 8.312 kB / 1.416 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.351, allocations: 7.953 kB / 1.416 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/1.352, allocations: 185.4 kB / 1.416 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/1.352, allocations: 63.34 kB / 1.416 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/1.355, allocations: 2.265 MB / 1.418 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/1.355, allocations: 18.95 kB / 1.418 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/1.355, allocations: 15.5 kB / 1.418 GB, free: 9.051 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.356, allocations: 127.9 kB / 1.419 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/1.356, allocations: 27.22 kB / 1.419 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/1.356, allocations: 354.6 kB / 1.419 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.356, allocations: 4 kB / 1.419 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/1.356, allocations: 0 / 1.419 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.356, allocations: 112 / 1.419 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/1.357, allocations: 0.8061 MB / 1.42 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.357, allocations: 4.062 kB / 1.42 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/1.358, allocations: 78.5 kB / 1.42 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/1.358, allocations: 0 / 1.42 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/1.358, allocations: 11.19 kB / 1.42 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.358, allocations: 0 / 1.42 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.358, allocations: 4 kB / 1.42 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/1.359, allocations: 0.6228 MB / 1.42 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/1.359, allocations: 124.3 kB / 1.421 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/1.359, allocations: 11.42 kB / 1.421 GB, free: 7.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/1.359, allocations: 11.38 kB / 1.421 GB, free: 7.203 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/1.359, allocations: 15.91 kB / 1.421 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/1.359, allocations: 11.69 kB / 1.421 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001677/1.359, allocations: 177.2 kB / 1.421 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.359, allocations: 0 / 1.421 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004663/1.36, allocations: 94.81 kB / 1.421 GB, free: 6.953 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/1.361, allocations: 1.332 MB / 1.422 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000905/1.362, allocations: 0.5189 MB / 1.423 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.362, allocations: 0.625 kB / 1.423 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/1.362, allocations: 147.6 kB / 1.423 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/1.363, allocations: 51.73 kB / 1.423 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.364, allocations: 0.8042 MB / 1.424 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/1.365, allocations: 0.8003 MB / 1.424 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000248/1.365, allocations: 74.92 kB / 1.425 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/1.365, allocations: 86.09 kB / 1.425 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.365, allocations: 0 / 1.425 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/1.387, allocations: 6.228 MB / 1.431 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/1.387, allocations: 190.2 kB / 1.431 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/3.374, allocations: 0 / 1.431 GB, free: 13.22 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat does not exist to compare? outputFormat=mat