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.329/2.329, allocations: 390.5 MB / 398 MB, free: 10.95 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.001053/0.001053, allocations: 187.1 kB / 491.2 MB, free: 1.605 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.76/1.76, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001035/0.001035, allocations: 95.64 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.596e-05, allocations: 5.562 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.344, allocations: 165.8 MB / 1.374 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.344, allocations: 95.55 kB / 1.374 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04611/1.39, allocations: 22.17 MB / 1.396 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.175e-06/1.39, allocations: 3.844 kB / 1.396 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.645e-05/1.391, allocations: 11.62 kB / 1.396 GB, free: 26.36 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009005/1.391, allocations: 0.6434 MB / 1.397 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.391, allocations: 7.688 kB / 1.397 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/1.392, allocations: 136.4 kB / 1.397 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/1.393, allocations: 384.7 kB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.393, allocations: 7.75 kB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/1.393, allocations: 19.28 kB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000402/1.393, allocations: 285.2 kB / 1.398 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/1.394, allocations: 0.5391 MB / 1.398 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/1.394, allocations: 3.938 kB / 1.398 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/1.394, allocations: 3.719 kB / 1.398 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/1.394, allocations: 27.7 kB / 1.398 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/1.396, allocations: 3.291 MB / 1.401 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/1.397, allocations: 294.2 kB / 1.402 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/1.397, allocations: 159.5 kB / 1.402 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/1.397, allocations: 3.969 kB / 1.402 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/1.397, allocations: 41.44 kB / 1.402 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/1.397, allocations: 0 / 1.402 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0009192/1.398, allocations: 0.5588 MB / 1.402 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/1.398, allocations: 55.45 kB / 1.402 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.398, allocations: 257.6 kB / 1.403 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/1.398, allocations: 25.7 kB / 1.403 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/1.398, allocations: 239.3 kB / 1.403 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/1.398, allocations: 96.22 kB / 1.403 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/1.398, allocations: 0 / 1.403 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.398, allocations: 352.3 kB / 1.403 GB, free: 21.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/1.399, allocations: 119.6 kB / 1.403 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/1.399, allocations: 246.7 kB / 1.404 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/1.399, allocations: 167.8 kB / 1.404 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.399, allocations: 3.969 kB / 1.404 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005777/1.4, allocations: 480.3 kB / 1.404 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.4, allocations: 5.562 kB / 1.404 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.4, allocations: 4 kB / 1.404 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/1.4, allocations: 89.17 kB / 1.404 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/1.4, allocations: 87.81 kB / 1.404 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.4, allocations: 4 kB / 1.404 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/1.4, allocations: 27.72 kB / 1.404 GB, free: 20.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/1.4, allocations: 12 kB / 1.405 GB, free: 20.39 MB / 0.8386 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 () * 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 9.946e-05/1.401, allocations: 121.8 kB / 1.405 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004786/1.401, allocations: 380 kB / 1.405 GB, free: 19.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/1.401, allocations: 35.62 kB / 1.405 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/1.402, allocations: 409.5 kB / 1.405 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.402, allocations: 11.97 kB / 1.405 GB, free: 19.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.402, allocations: 0 / 1.405 GB, free: 19.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.402, allocations: 4 kB / 1.405 GB, free: 19.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/1.403, allocations: 0.8609 MB / 1.406 GB, free: 18.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.403, allocations: 0 / 1.406 GB, free: 18.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/1.403, allocations: 55.45 kB / 1.406 GB, free: 18.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/1.403, allocations: 81.61 kB / 1.406 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/1.403, allocations: 3.953 kB / 1.406 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.403, allocations: 11.98 kB / 1.406 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.403, allocations: 0 / 1.406 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/1.404, allocations: 0.5313 MB / 1.407 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/1.404, allocations: 135.1 kB / 1.407 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/1.404, allocations: 3.953 kB / 1.407 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/1.404, allocations: 23.97 kB / 1.407 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/1.404, allocations: 23.28 kB / 1.407 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/1.404, allocations: 7.438 kB / 1.407 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001444/1.404, allocations: 197.6 kB / 1.407 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.404, allocations: 0 / 1.407 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003628/1.405, allocations: 76 kB / 1.407 GB, free: 17.79 MB / 0.8386 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 () * 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.0008725/1.406, allocations: 1.289 MB / 1.409 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005185/1.406, allocations: 0.571 MB / 1.409 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.406, allocations: 0 / 1.409 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/1.406, allocations: 418.2 kB / 1.41 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/1.407, allocations: 112.2 kB / 1.41 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/1.408, allocations: 0.5774 MB / 1.41 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/1.408, allocations: 0.8369 MB / 1.411 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000216/1.408, allocations: 75.22 kB / 1.411 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.409, allocations: 123 kB / 1.411 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.409, allocations: 3.938 kB / 1.411 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/1.438, allocations: 6.937 MB / 1.418 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/1.438, allocations: 162.5 kB / 1.418 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/3.654, allocations: 3.938 kB / 1.418 GB, free: 6.875 MB / 0.8386 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