Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.005279/0.005279, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001176/0.001176, allocations: 191.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2757, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002619/0.2784, allocations: 1.437 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.2791, allocations: 375.6 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.2792, allocations: 0 / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.2792, allocations: 11.88 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.2793, allocations: 11.92 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.2798, allocations: 110.9 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.2799, allocations: 23.92 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.28, allocations: 11.98 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.2801, allocations: 7.984 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.2801, allocations: 19.92 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2801, allocations: 0 / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.2805, allocations: 275.7 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.2806, allocations: 3.938 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.2806, allocations: 15.92 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.2808, allocations: 107.8 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2808, allocations: 7.984 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2808, allocations: 0 / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2809, allocations: 0 / 1.169 GB, free: 4.84 MB / 0.92 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.000444/0.2813, allocations: 362.3 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2813, allocations: 8.031 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.2814, allocations: 30.75 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.2814, allocations: 4.938 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2816, allocations: 177 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2816, allocations: 4.375 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.2816, allocations: 384 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2818, allocations: 50.23 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2818, allocations: 3.938 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.2818, allocations: 4 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2818, allocations: 3.938 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.282, allocations: 31.97 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.2823, allocations: 249 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2824, allocations: 42.44 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.2825, allocations: 36.89 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/0.2832, allocations: 453.5 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2832, allocations: 34.56 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.2832, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003622/0.2836, allocations: 85.58 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2837, allocations: 51.41 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.2837, allocations: 105.8 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2838, allocations: 25.83 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.2838, allocations: 92.14 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.2838, allocations: 3.906 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.2839, allocations: 13.7 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.284, allocations: 318.8 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.2841, allocations: 12.23 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.2841, allocations: 23.92 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2843, allocations: 44.88 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2843, allocations: 3.938 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.2845, allocations: 69.52 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2845, allocations: 11.98 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2845, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2846, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.2846, allocations: 12.03 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2847, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.2847, allocations: 11.98 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2847, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.2848, allocations: 109.8 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.2848, allocations: 4 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.2851, allocations: 77.17 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2851, allocations: 4 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2851, allocations: 3.938 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2851, allocations: 0 / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.2852, allocations: 161.6 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2853, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.2853, allocations: 11.98 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2853, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2853, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2853, allocations: 0 / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2854, allocations: 4.031 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.2856, allocations: 167.5 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.2856, allocations: 84.95 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.2857, allocations: 0 / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.2857, allocations: 11.97 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2858, allocations: 4.031 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.2858, allocations: 4 kB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.2858, allocations: 87.27 kB / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2858, allocations: 0 / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002409/0.2861, allocations: 19.94 kB / 1.171 GB, free: 1.34 MB / 0.92 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005611/0.2866, allocations: 0.7085 MB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.2869, allocations: 35.97 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2869, allocations: 3.938 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.287, allocations: 19.92 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.2873, allocations: 12.33 kB / 1.172 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.2877, allocations: 151 kB / 1.172 GB, free: 356 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2879, allocations: 0.6768 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.288, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.288, allocations: 11.44 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.288, allocations: 4 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.3052, allocations: 1.599 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.144, allocations: 17.61 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches