Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_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.005458/0.005458, allocations: 100.7 kB / 15.73 MB, free: 6.051 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.001502/0.001502, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 71.88 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.6845, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002306/0.6868, allocations: 1.43 MB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006268/0.6875, allocations: 386.7 kB / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.6875, allocations: 0 / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.6875, allocations: 0 / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.6876, allocations: 3.938 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.688, allocations: 126.5 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.688, allocations: 23.94 kB / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.6881, allocations: 7.984 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.6881, allocations: 11.94 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.6882, allocations: 19.91 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.6882, allocations: 0 / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.6886, allocations: 279.6 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.6886, allocations: 8 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.6886, allocations: 7.938 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.6888, allocations: 111.4 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6888, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6888, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.6888, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 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.0004225/0.6893, allocations: 363.2 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6893, allocations: 12.03 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.6893, allocations: 34.73 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.6894, allocations: 0.9375 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.6895, allocations: 184.3 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.6895, allocations: 4.375 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.6895, allocations: 384 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.6897, allocations: 50.23 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.6897, allocations: 3.938 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.6897, allocations: 4 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.6897, allocations: 7.875 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.6899, allocations: 31.95 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.6902, allocations: 249 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.6903, allocations: 42.48 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.6904, allocations: 24.91 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/0.6911, allocations: 465.4 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.6911, allocations: 38.5 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6911, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000341/0.6914, allocations: 85.64 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.6915, allocations: 51.41 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.6916, allocations: 101.9 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.6916, allocations: 25.7 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.6916, allocations: 84.12 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.6917, allocations: 7.953 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.6917, allocations: 13.72 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6918, allocations: 315 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.6919, allocations: 19.98 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.692, allocations: 15.97 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.6921, allocations: 44.77 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6921, allocations: 3.938 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.6923, allocations: 73.67 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.6924, allocations: 4 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.6924, allocations: 4 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.6924, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.202e-05/0.6925, allocations: 7.984 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.6925, allocations: 3.984 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.6925, allocations: 4 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.6925, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 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 7.79e-05/0.6926, allocations: 125.8 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.6927, allocations: 0 / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.6929, allocations: 73.12 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6929, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.6929, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.6929, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.6931, allocations: 169.6 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6931, allocations: 4.031 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.6931, allocations: 4 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6931, allocations: 8.234 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.6931, allocations: 0 / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.6932, allocations: 4 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6932, allocations: 3.938 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.6934, allocations: 175.4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.6935, allocations: 85 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.6935, allocations: 4 kB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.6935, allocations: 4 kB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.6936, allocations: 3.984 kB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.6936, allocations: 0 / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.6936, allocations: 83.28 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6936, allocations: 0 / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002141/0.6939, allocations: 15.94 kB / 1.226 GB, free: 12.11 MB / 0.9512 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.0005795/0.6944, allocations: 0.7207 MB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.6947, allocations: 40 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.6947, allocations: 0 / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.6948, allocations: 23.97 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.695, allocations: 2.031 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.6953, allocations: 139.1 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.6956, allocations: 0.6845 MB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.6956, allocations: 4.125 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.6957, allocations: 7.438 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6957, allocations: 3.938 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5873/1.283, allocations: 1.606 MB / 1.229 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.66, allocations: 10.56 kB / 1.229 GB, free: 8.867 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches