Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.987/1.987, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.00101/0.00101, allocations: 180.8 kB / 496.1 MB, free: 12.84 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.279/1.279, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0008048/0.0008048, allocations: 91.95 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.28e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2348, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7457/0.9805, allocations: 150 MB / 1.365 GB, free: 3.941 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.9807, allocations: 73.39 kB / 1.365 GB, free: 3.898 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01246/0.9932, allocations: 4.586 MB / 1.37 GB, free: 16 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9932, allocations: 0 / 1.37 GB, free: 16 kB / 0.823 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.9933, allocations: 4 kB / 1.37 GB, free: 12 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002879/0.9936, allocations: 346.4 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9936, allocations: 12.03 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.9937, allocations: 33.56 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.9937, allocations: 0 / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.9938, allocations: 171 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.9938, allocations: 0 / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.9939, allocations: 3.938 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.846e-05/0.994, allocations: 40.95 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.994, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.994, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.994, allocations: 4 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.994, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.9942, allocations: 157.4 kB / 1.371 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.253e-05/0.9942, allocations: 18.61 kB / 1.371 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.9942, allocations: 12.86 kB / 1.371 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/0.9948, allocations: 465.4 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.9949, allocations: 38.5 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9949, allocations: 0 / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000468/0.9953, allocations: 249.8 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.9954, allocations: 51.41 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.9955, allocations: 92.62 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.9955, allocations: 25.7 kB / 1.372 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.9955, allocations: 84.39 kB / 1.372 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.9955, allocations: 7.656 kB / 1.372 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.9955, allocations: 0 / 1.372 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.9956, allocations: 318.8 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.9957, allocations: 4 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.9957, allocations: 21 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.929e-05/0.9957, allocations: 4 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.9957, allocations: 4 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.792e-05/0.9958, allocations: 60.5 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.9958, allocations: 9.406 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.9958, allocations: 0 / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.9959, allocations: 3.984 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.9959, allocations: 4 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.9959, allocations: 4 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.996, allocations: 4 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.996, allocations: 0 / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.628e-05/0.996, allocations: 116.9 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.9961, allocations: 0 / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.9962, allocations: 55.8 kB / 1.372 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.9962, allocations: 3.938 kB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.9962, allocations: 0 / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.9962, allocations: 0 / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.899e-05/0.9963, allocations: 157.2 kB / 1.372 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9963, allocations: 4 kB / 1.372 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.9964, allocations: 8 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9964, allocations: 0 / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.9964, allocations: 0 / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9964, allocations: 0 / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.9964, allocations: 3.984 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.9965, allocations: 83.83 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.9966, allocations: 77.11 kB / 1.373 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.9966, allocations: 3.938 kB / 1.373 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.9966, allocations: 4.062 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.9966, allocations: 4.031 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.9967, allocations: 0 / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.9967, allocations: 86.83 kB / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9967, allocations: 0 / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001845/0.9969, allocations: 31.94 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004323/0.9973, allocations: 0.6575 MB / 1.373 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.289e-05/0.9974, allocations: 12 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9974, allocations: 0 / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.9974, allocations: 15.8 kB / 1.373 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.912e-05/0.9975, allocations: 6 kB / 1.373 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.9978, allocations: 124.4 kB / 1.373 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.998, allocations: 0.6811 MB / 1.374 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.936e-05/0.9981, allocations: 4.938 kB / 1.374 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.9981, allocations: 11.44 kB / 1.374 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/0.9981, allocations: 0 / 1.374 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/1.009, allocations: 1.493 MB / 1.376 GB, free: 9.879 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/1.009, allocations: 182.7 kB / 1.376 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.297/2.306, allocations: 1.25 kB / 1.376 GB, free: 9.656 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat does not exist to compare? outputFormat=mat