Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",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 1.986/1.986, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.0009987/0.0009985, allocations: 161 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0008413/0.0008411, allocations: 91.89 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.441e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1922, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6965/0.8887, allocations: 150 MB / 1.365 GB, free: 4.055 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.889, allocations: 71.55 kB / 1.365 GB, free: 4.016 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002349/0.8914, allocations: 0.7882 MB / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8914, allocations: 0 / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.8915, allocations: 0 / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004141/0.8919, allocations: 341.8 kB / 1.366 GB, free: 2.918 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.8919, allocations: 8.031 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.892, allocations: 42.11 kB / 1.367 GB, free: 2.863 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.8922, allocations: 16.77 kB / 1.367 GB, free: 2.848 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8923, allocations: 166.9 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.8923, allocations: 0 / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.8924, allocations: 4 kB / 1.367 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.8925, allocations: 41.12 kB / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8925, allocations: 3.984 kB / 1.367 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.8925, allocations: 0 / 1.367 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8925, allocations: 4 kB / 1.367 GB, free: 2.59 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.273e-05/0.8926, allocations: 18.69 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.8931, allocations: 278.7 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.614e-05/0.8932, allocations: 28.89 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.8932, allocations: 11.61 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.8932, allocations: 11.94 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.8933, allocations: 34.94 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8933, allocations: 0 / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.8934, allocations: 44.02 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.8935, allocations: 55.36 kB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.8936, allocations: 100.1 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.8936, allocations: 25.7 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.8937, allocations: 84.17 kB / 1.367 GB, free: 1.848 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.8937, allocations: 10.78 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.8937, allocations: 1.969 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8938, allocations: 318.8 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.8939, allocations: 7 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.8939, allocations: 7.75 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.8939, allocations: 11.38 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8939, allocations: 0 / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/0.8941, allocations: 52.48 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8941, allocations: 9.406 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.8941, allocations: 0 / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.8941, allocations: 0 / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.8942, allocations: 15.98 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.8943, allocations: 0.875 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.8943, allocations: 15.94 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.8944, allocations: 4.031 kB / 1.368 GB, free: 1.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 7.346e-05/0.8944, allocations: 101 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.8945, allocations: 11.5 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.8945, allocations: 7.641 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8945, allocations: 0 / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8945, allocations: 3.938 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8945, allocations: 0 / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.8947, allocations: 170.8 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.8947, allocations: 0 / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-05/0.8948, allocations: 23.92 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8948, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.8948, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8948, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8949, allocations: 0 / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.895, allocations: 149.6 kB / 1.368 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.8951, allocations: 85.05 kB / 1.368 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.8951, allocations: 0 / 1.368 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.8952, allocations: 11.98 kB / 1.368 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.8952, allocations: 4 kB / 1.368 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.8952, allocations: 0 / 1.368 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.503e-05/0.8953, allocations: 82.97 kB / 1.368 GB, free: 0.707 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8953, allocations: 0 / 1.368 GB, free: 0.707 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002146/0.8955, allocations: 7.984 kB / 1.368 GB, free: 0.6992 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004586/0.896, allocations: 0.6769 MB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.8961, allocations: 25.48 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8961, allocations: 0 / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.8962, allocations: 15.5 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.8964, allocations: 4.156 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.8968, allocations: 101.9 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.8971, allocations: 0.6809 MB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.8971, allocations: 0 / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.8972, allocations: 14.81 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/0.8972, allocations: 4 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.9107, allocations: 1.18 MB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.911, allocations: 153.7 kB / 1.371 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.586, allocations: 2.812 kB / 1.371 GB, free: 13.84 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat