Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_9_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.004318/0.004318, allocations: 99.08 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.001047/0.001047, allocations: 197.5 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.56 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2876, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003076/0.2908, allocations: 1.434 MB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008288/0.2916, allocations: 375.6 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.2917, allocations: 4 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.2918, allocations: 3.938 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.2918, allocations: 7.938 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.2923, allocations: 119.6 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.2924, allocations: 23.88 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.2925, allocations: 7.984 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.2926, allocations: 8 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.2927, allocations: 24 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2927, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.2931, allocations: 275.7 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.2931, allocations: 7.984 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.2932, allocations: 7.938 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.2934, allocations: 103.8 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2934, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2934, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.2934, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 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.0005361/0.294, allocations: 366.3 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.294, allocations: 8.031 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.2941, allocations: 34.73 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.2941, allocations: 4.938 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.2943, allocations: 173 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2943, allocations: 8.312 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.2943, allocations: 8.375 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.2945, allocations: 50.23 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2945, allocations: 7.875 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.2945, allocations: 4 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2946, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.2947, allocations: 39.94 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.2951, allocations: 244.9 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2953, allocations: 46.42 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.05e-05/0.2954, allocations: 32.91 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/0.2961, allocations: 457.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2961, allocations: 38.56 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2961, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004168/0.2966, allocations: 77.59 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.2966, allocations: 59.39 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.2967, allocations: 101.9 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2967, allocations: 29.83 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.2968, allocations: 85.55 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.2968, allocations: 7.906 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.2969, allocations: 13.72 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.297, allocations: 314.8 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.228e-05/0.2971, allocations: 15.98 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.2972, allocations: 15.97 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2973, allocations: 44.89 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2973, allocations: 3.938 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002229/0.2976, allocations: 69.59 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.2976, allocations: 8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2976, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2976, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.2977, allocations: 12.02 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2977, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.2978, allocations: 7.906 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2978, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 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 8.008e-05/0.2979, allocations: 117.8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.2979, allocations: 3.938 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.2982, allocations: 73.19 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2982, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2982, allocations: 4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2982, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.2984, allocations: 169.5 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2984, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.2985, allocations: 8 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2985, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2985, allocations: 256 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2985, allocations: 3.984 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2985, allocations: 11.97 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.2988, allocations: 163.5 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.2988, allocations: 85.02 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2989, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.2989, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.299, allocations: 8.016 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.299, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.299, allocations: 83.28 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.299, allocations: 4 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002352/0.2993, allocations: 12 kB / 1.093 GB, free: 12.09 MB / 0.8575 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.0006103/0.2999, allocations: 0.7085 MB / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3001, allocations: 35.97 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3001, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.3002, allocations: 27.91 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.3005, allocations: 1.719 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.301, allocations: 147.3 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3013, allocations: 0.6768 MB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.3013, allocations: 4 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.3014, allocations: 7.438 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.3014, allocations: 0 / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.3214, allocations: 1.622 MB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.893, allocations: 9.859 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches