Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.263/2.263, allocations: 390.5 MB / 398 MB, free: 10.99 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.001283/0.001282, allocations: 172.9 kB / 491.2 MB, free: 1.613 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.508/1.508, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001122/0.001122, allocations: 91.83 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.752e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3457, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9894/1.335, allocations: 165.9 MB / 1.374 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/1.335, allocations: 93.72 kB / 1.375 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06678/1.402, allocations: 32.43 MB / 1.406 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.825e-06/1.402, allocations: 0 / 1.406 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.258e-05/1.402, allocations: 20 kB / 1.406 GB, free: 19.56 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001611/1.404, allocations: 0.7801 MB / 1.407 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.404, allocations: 8.031 kB / 1.407 GB, free: 18.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/1.406, allocations: 214.3 kB / 1.407 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/1.406, allocations: 495.7 kB / 1.408 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/1.406, allocations: 16 kB / 1.408 GB, free: 18.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/1.406, allocations: 27.91 kB / 1.408 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006176/1.407, allocations: 414.7 kB / 1.408 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/1.408, allocations: 0.8525 MB / 1.409 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/1.408, allocations: 11.94 kB / 1.409 GB, free: 16.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/1.408, allocations: 4 kB / 1.409 GB, free: 16.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.828e-05/1.408, allocations: 63.3 kB / 1.409 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006033/1.414, allocations: 5.538 MB / 1.414 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/1.415, allocations: 432.2 kB / 1.415 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/1.415, allocations: 218.4 kB / 1.415 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/1.415, allocations: 11.98 kB / 1.415 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/1.416, allocations: 38.44 kB / 1.415 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 3.316e-06/1.416, allocations: 0 / 1.415 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001825/1.417, allocations: 0.8012 MB / 1.416 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.417, allocations: 55.41 kB / 1.416 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/1.418, allocations: 366.4 kB / 1.416 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/1.418, allocations: 25.7 kB / 1.416 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/1.418, allocations: 345.6 kB / 1.417 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/1.418, allocations: 114.5 kB / 1.417 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/1.418, allocations: 0 / 1.417 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.419, allocations: 363 kB / 1.417 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/1.419, allocations: 174.4 kB / 1.417 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/1.419, allocations: 392.9 kB / 1.418 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/1.419, allocations: 240 kB / 1.418 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.42, allocations: 0 / 1.418 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001134/1.421, allocations: 0.6957 MB / 1.419 GB, free: 7.797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.421, allocations: 11.98 kB / 1.419 GB, free: 7.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.421, allocations: 4 kB / 1.419 GB, free: 7.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/1.421, allocations: 147.5 kB / 1.419 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/1.422, allocations: 111.4 kB / 1.419 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/1.425, allocations: 3.883 MB / 1.423 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/1.425, allocations: 19.97 kB / 1.423 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/1.425, allocations: 31.83 kB / 1.423 GB, free: 3.426 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0001749/1.426, allocations: 120.7 kB / 1.423 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000942/1.427, allocations: 0.5237 MB / 1.423 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/1.427, allocations: 55.34 kB / 1.423 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/1.428, allocations: 0.559 MB / 1.424 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.428, allocations: 4 kB / 1.424 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.428, allocations: 0 / 1.424 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.428, allocations: 7.984 kB / 1.424 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/1.43, allocations: 1.144 MB / 1.425 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.43, allocations: 4.219 kB / 1.425 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/1.43, allocations: 59.77 kB / 1.425 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/1.43, allocations: 135.6 kB / 1.425 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/1.43, allocations: 4 kB / 1.425 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/1.434, allocations: 3.863 MB / 1.429 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/1.434, allocations: 4.031 kB / 1.429 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.435, allocations: 0.7489 MB / 1.43 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/1.435, allocations: 161.8 kB / 1.43 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/1.435, allocations: 0 / 1.43 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/1.436, allocations: 19.97 kB / 1.43 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/1.436, allocations: 42.84 kB / 1.43 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/1.436, allocations: 8 kB / 1.43 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003888/1.436, allocations: 268.8 kB / 1.43 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.436, allocations: 0 / 1.43 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008061/1.437, allocations: 124 kB / 1.43 GB, free: 11.87 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * 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): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.001733/1.439, allocations: 1.805 MB / 1.432 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001494/1.44, allocations: 0.9483 MB / 1.433 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.44, allocations: 0 / 1.433 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009004/1.441, allocations: 0.7021 MB / 1.434 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/1.442, allocations: 165.3 kB / 1.434 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/1.444, allocations: 0.8561 MB / 1.435 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/1.445, allocations: 0.9258 MB / 1.436 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003839/1.445, allocations: 104.9 kB / 1.436 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/1.445, allocations: 194.5 kB / 1.436 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/1.445, allocations: 0 / 1.436 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/1.483, allocations: 10.76 MB / 1.446 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/1.483, allocations: 164 kB / 1.447 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.886, allocations: 0 / 1.447 GB, free: 11.59 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat