Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.281/2.281, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001116/0.001115, allocations: 179.5 kB / 0.4901 GB, free: 2.254 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.554/1.554, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009305/0.0009303, allocations: 92.86 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 10.2 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.312, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/0.5255, allocations: 166.6 MB / 1.392 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004233/0.526, allocations: 95.94 kB / 1.392 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05936/0.5854, allocations: 22.36 MB / 1.414 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5854, allocations: 4 kB / 1.414 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.516e-05/0.5855, allocations: 11.98 kB / 1.414 GB, free: 12.14 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001576/0.5871, allocations: 0.6933 MB / 1.415 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.5871, allocations: 16.56 kB / 1.415 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.5873, allocations: 74.53 kB / 1.415 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.5883, allocations: 139.2 kB / 1.415 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.5892, allocations: 378.5 kB / 1.415 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.5893, allocations: 24.64 kB / 1.415 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.5893, allocations: 28 kB / 1.415 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5905, allocations: 0.6051 MB / 1.416 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.5905, allocations: 0 / 1.416 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.5906, allocations: 23.92 kB / 1.416 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.11e-05/0.5907, allocations: 32.55 kB / 1.416 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.5916, allocations: 417.7 kB / 1.416 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.5957, allocations: 3.365 MB / 1.42 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.5965, allocations: 334.6 kB / 1.42 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.5965, allocations: 8 kB / 1.42 GB, free: 5.574 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.5965, allocations: 30.56 kB / 1.42 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 3.246e-06/0.5966, allocations: 3.938 kB / 1.42 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of matching and sorting (n=27): time 0.002336/0.5989, allocations: 1.078 MB / 1.421 GB, free: 4.383 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.599, allocations: 63.53 kB / 1.421 GB, free: 4.309 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.5994, allocations: 304.7 kB / 1.421 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.5994, allocations: 29.7 kB / 1.421 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.5996, allocations: 231.8 kB / 1.422 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.395e-05/0.5997, allocations: 94.64 kB / 1.422 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.5997, allocations: 4 kB / 1.422 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.5999, allocations: 346.8 kB / 1.422 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.6002, allocations: 152.6 kB / 1.422 GB, free: 3.141 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.6006, allocations: 281.6 kB / 1.422 GB, free: 2.812 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.601, allocations: 187.4 kB / 1.423 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.601, allocations: 0 / 1.423 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00113/0.6021, allocations: 0.5579 MB / 1.423 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.6022, allocations: 6.031 kB / 1.423 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6022, allocations: 4 kB / 1.423 GB, free: 2.051 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.6026, allocations: 86.5 kB / 1.423 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.6029, allocations: 84.14 kB / 1.423 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.603, allocations: 15.92 kB / 1.423 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.6033, allocations: 27.97 kB / 1.423 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.6033, allocations: 20 kB / 1.423 GB, free: 1.812 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.6036, allocations: 166.5 kB / 1.423 GB, free: 1.641 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.6037, allocations: 43.48 kB / 1.424 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009985/0.6047, allocations: 480.5 kB / 1.424 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6047, allocations: 0 / 1.424 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.6047, allocations: 4 kB / 1.424 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6047, allocations: 7.891 kB / 1.424 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.6066, allocations: 0.9846 MB / 1.425 GB, free: 44 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.6066, allocations: 0 / 1.425 GB, free: 44 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.6069, allocations: 43.97 kB / 1.425 GB, free: 0 / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003887/1.256, allocations: 84.81 kB / 1.425 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/1.256, allocations: 4.594 kB / 1.425 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/1.256, allocations: 1.625 kB / 1.425 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.256, allocations: 1.625 kB / 1.425 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/1.257, allocations: 0.5874 MB / 1.426 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/1.257, allocations: 139.5 kB / 1.426 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/1.257, allocations: 13.05 kB / 1.426 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/1.258, allocations: 27.17 kB / 1.426 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/1.258, allocations: 22.86 kB / 1.426 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/1.258, allocations: 11.44 kB / 1.426 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002479/1.258, allocations: 230.3 kB / 1.426 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.4e-07/1.258, allocations: 0 / 1.426 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004248/1.259, allocations: 94.39 kB / 1.426 GB, free: 181.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/1.26, allocations: 1.352 MB / 1.427 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007975/1.26, allocations: 0.6345 MB / 1.428 GB, free: 180 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.26, allocations: 0 / 1.428 GB, free: 180 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003751/1.261, allocations: 439.9 kB / 1.429 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/1.261, allocations: 116.8 kB / 1.429 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/1.265, allocations: 4.893 MB / 1.433 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/1.265, allocations: 0.837 MB / 1.434 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003285/1.266, allocations: 79.17 kB / 1.434 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/1.266, allocations: 129.5 kB / 1.434 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.203e-06/1.266, allocations: 0 / 1.434 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/1.292, allocations: 7.819 MB / 1.442 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.292, allocations: 226.8 kB / 1.442 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.51, allocations: 0.9375 kB / 1.442 GB, free: 174.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat does not exist to compare? outputFormat=mat