Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.509/2.509, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.000387, allocations: 15.98 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7118, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007874/0.7126, allocations: 349.5 kB / 0.9815 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.7133, allocations: 321.5 kB / 0.9818 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.7133, allocations: 4 kB / 0.9818 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.7133, allocations: 0 / 0.9818 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.846e-05/0.7134, allocations: 0 / 0.9818 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.7138, allocations: 87.7 kB / 0.9819 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.7139, allocations: 19.92 kB / 0.9819 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.7139, allocations: 4 kB / 0.9819 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.714, allocations: 11.94 kB / 0.9819 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.714, allocations: 15.97 kB / 0.9819 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.7141, allocations: 7.938 kB / 0.9819 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.7144, allocations: 259.7 kB / 0.9822 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.7145, allocations: 7.984 kB / 0.9822 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.7145, allocations: 29.7 kB / 0.9822 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.7147, allocations: 67.89 kB / 0.9823 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7147, allocations: 3.938 kB / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7147, allocations: 0 / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.7147, allocations: 0 / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004246/0.7151, allocations: 349.6 kB / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.7152, allocations: 8.031 kB / 0.9826 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.7152, allocations: 38.55 kB / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.7153, allocations: 4 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.7154, allocations: 167 kB / 0.9828 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.7155, allocations: 4 kB / 0.9828 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.7155, allocations: 11.91 kB / 0.9828 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.7156, allocations: 61.59 kB / 0.9829 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7156, allocations: 4 kB / 0.9829 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.7157, allocations: 0 / 0.9829 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.7157, allocations: 0 / 0.9829 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.401e-05/0.7157, allocations: 19.98 kB / 0.9829 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.7159, allocations: 165.6 kB / 0.9831 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.716, allocations: 62.5 kB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.7161, allocations: 28.84 kB / 0.9832 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.7168, allocations: 465.5 kB / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.7169, allocations: 34.5 kB / 0.9836 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.7169, allocations: 0 / 0.9836 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001331/0.7182, allocations: 0.5879 MB / 0.9842 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.7183, allocations: 51.41 kB / 0.9843 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.7184, allocations: 97.84 kB / 0.9844 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.7184, allocations: 33.7 kB / 0.9844 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.7184, allocations: 80.14 kB / 0.9845 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.7185, allocations: 47.23 kB / 0.9845 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.7185, allocations: 4 kB / 0.9845 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7186, allocations: 318.8 kB / 0.9848 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.7187, allocations: 27.94 kB / 0.9849 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.7187, allocations: 23.98 kB / 0.9849 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.7188, allocations: 24 kB / 0.9849 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7188, allocations: 0 / 0.9849 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001591/0.7189, allocations: 96.67 kB / 0.985 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.719, allocations: 7.953 kB / 0.985 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.719, allocations: 4 kB / 0.985 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.719, allocations: 0 / 0.985 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.7191, allocations: 16 kB / 0.985 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7191, allocations: 3.938 kB / 0.985 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.7191, allocations: 8 kB / 0.985 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.7192, allocations: 7.984 kB / 0.985 GB, free: 1.867 MB / 0.7325 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.722e-05/0.7193, allocations: 113.8 kB / 0.9851 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.7193, allocations: 7.906 kB / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.7195, allocations: 101.7 kB / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7195, allocations: 11.88 kB / 0.9853 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7196, allocations: 0 / 0.9853 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7196, allocations: 7.922 kB / 0.9853 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.72, allocations: 346.6 kB / 0.9856 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.72, allocations: 3.953 kB / 0.9856 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.7201, allocations: 20 kB / 0.9856 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.7201, allocations: 0 / 0.9856 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.7201, allocations: 8 kB / 0.9856 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.7201, allocations: 7.922 kB / 0.9856 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7202, allocations: 4 kB / 0.9856 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.7204, allocations: 211.4 kB / 0.9858 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.7205, allocations: 93.14 kB / 0.9859 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.7205, allocations: 4 kB / 0.9859 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.7206, allocations: 4 kB / 0.9859 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.7206, allocations: 3.984 kB / 0.9859 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.7207, allocations: 4 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.7207, allocations: 83.28 kB / 0.986 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7207, allocations: 0 / 0.986 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002941/0.721, allocations: 43.98 kB / 0.9861 GB, free: 0.7031 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0006909/0.7217, allocations: 0.791 MB / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.7219, allocations: 64.02 kB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7219, allocations: 0 / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.7219, allocations: 35.92 kB / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.7222, allocations: 13.44 kB / 0.9869 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.723, allocations: 0.5138 MB / 0.9875 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.7233, allocations: 0.6887 MB / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.427e-05/0.7233, allocations: 12 kB / 0.9881 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.7234, allocations: 19.42 kB / 0.9882 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.7234, allocations: 0 / 0.9882 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.7375, allocations: 2.231 MB / 0.9903 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.7378, allocations: 229.1 kB / 0.9906 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.533, allocations: 2.234 kB / 0.9906 GB, free: 12.18 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat