Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.529/2.529, allocations: 393.5 MB / 408.4 MB, free: 11 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.001992/0.001992, allocations: 186.9 kB / 0.4902 GB, free: 2.227 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.553/1.553, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.0009852/0.000985, allocations: 115.5 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 10.72 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2734, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.4977, allocations: 180.7 MB / 1.406 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.4981, allocations: 99.94 kB / 1.406 GB, free: 4.543 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6808/1.179, allocations: 21.25 MB / 1.427 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.166e-06/1.179, allocations: 0 / 1.427 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.378e-05/1.179, allocations: 9.781 kB / 1.427 GB, free: 183.3 MB / 0.9167 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.00106/1.18, allocations: 0.5694 MB / 1.427 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.18, allocations: 13.34 kB / 1.427 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.369e-05/1.18, allocations: 63.23 kB / 1.427 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009263/1.181, allocations: 110.5 kB / 1.427 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/1.182, allocations: 285 kB / 1.428 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/1.182, allocations: 22.69 kB / 1.428 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/1.182, allocations: 28.84 kB / 1.428 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/1.182, allocations: 427.9 kB / 1.428 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/1.182, allocations: 5.344 kB / 1.428 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/1.182, allocations: 12.33 kB / 1.428 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/1.183, allocations: 28.34 kB / 1.428 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/1.183, allocations: 348.6 kB / 1.428 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/1.185, allocations: 2.205 MB / 1.431 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/1.186, allocations: 265.4 kB / 1.431 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/1.186, allocations: 192 / 1.431 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.186, allocations: 36.41 kB / 1.431 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 2.916e-06/1.186, allocations: 0.6562 kB / 1.431 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.001788/1.188, allocations: 1.051 MB / 1.432 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/1.188, allocations: 62.53 kB / 1.432 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/1.188, allocations: 224.3 kB / 1.432 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/1.188, allocations: 28.58 kB / 1.432 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/1.188, allocations: 186.3 kB / 1.432 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/1.188, allocations: 83.84 kB / 1.432 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/1.188, allocations: 8.938 kB / 1.432 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/1.188, allocations: 337.5 kB / 1.433 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/1.188, allocations: 146.9 kB / 1.433 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/1.189, allocations: 231.2 kB / 1.433 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/1.189, allocations: 185.9 kB / 1.433 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.189, allocations: 0 / 1.433 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001124/1.19, allocations: 0.576 MB / 1.434 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.19, allocations: 10.77 kB / 1.434 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.19, allocations: 2.719 kB / 1.434 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/1.191, allocations: 186.9 kB / 1.434 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/1.191, allocations: 60.8 kB / 1.434 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/1.194, allocations: 2.345 MB / 1.436 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/1.194, allocations: 19.2 kB / 1.436 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/1.194, allocations: 12.56 kB / 1.436 GB, free: 178.3 MB / 0.9167 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 () * Number of clocked 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.0001833/1.195, allocations: 164.2 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/1.195, allocations: 31.45 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/1.195, allocations: 354.6 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.195, allocations: 3.406 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.195, allocations: 4.312 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.195, allocations: 0.7031 kB / 1.437 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/1.197, allocations: 0.8114 MB / 1.438 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.197, allocations: 0 / 1.438 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/1.197, allocations: 76.92 kB / 1.438 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.197, allocations: 1.188 kB / 1.438 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/1.197, allocations: 8.094 kB / 1.438 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.197, allocations: 3.562 kB / 1.438 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.197, allocations: 2 kB / 1.438 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/1.198, allocations: 0.6314 MB / 1.438 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/1.198, allocations: 129.9 kB / 1.439 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/1.198, allocations: 8.234 kB / 1.439 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.198, allocations: 12.69 kB / 1.439 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/1.198, allocations: 15.66 kB / 1.439 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/1.198, allocations: 6.484 kB / 1.439 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001835/1.198, allocations: 177 kB / 1.439 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.41e-07/1.198, allocations: 0 / 1.439 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004866/1.199, allocations: 111.1 kB / 1.439 GB, free: 177.4 MB / 0.9167 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 () * Number of clocked 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.001063/1.2, allocations: 1.326 MB / 1.44 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.201, allocations: 0.5326 MB / 1.441 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.201, allocations: 0 / 1.441 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/1.201, allocations: 150.5 kB / 1.441 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/1.202, allocations: 52.75 kB / 1.441 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/1.206, allocations: 3.771 MB / 1.445 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/1.206, allocations: 0.7998 MB / 1.445 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002699/1.206, allocations: 74.11 kB / 1.445 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/1.207, allocations: 82.97 kB / 1.446 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.262e-06/1.207, allocations: 1.406 kB / 1.446 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/1.229, allocations: 6.258 MB / 1.452 GB, free: 173 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.229, allocations: 224.7 kB / 1.452 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/3.216, allocations: 0 / 1.452 GB, free: 172.7 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat does not exist to compare? outputFormat=mat