Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 215.3 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.283/3.283, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.17 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4193, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002023/0.4214, allocations: 0.6193 MB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.4222, allocations: 327.3 kB / 1.328 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.4222, allocations: 0 / 1.328 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.4222, allocations: 7.938 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.251e-05/0.4222, allocations: 0 / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.4227, allocations: 115.6 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.4228, allocations: 23.92 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.4228, allocations: 7.922 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.4229, allocations: 11.98 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.4229, allocations: 15.92 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.4229, allocations: 4 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.4233, allocations: 275.7 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.4234, allocations: 7.938 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.4234, allocations: 11.98 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.4236, allocations: 103.9 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4236, allocations: 0 / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4236, allocations: 4 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4236, allocations: 0 / 1.328 GB, free: 15.94 MB / 1.029 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.000465/0.4241, allocations: 290 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4241, allocations: 16.03 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.976e-05/0.4241, allocations: 192 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.4242, allocations: 38.69 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.4242, allocations: 0.9375 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.4244, allocations: 114.5 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4244, allocations: 4.375 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.4244, allocations: 4.375 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4246, allocations: 113.4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4246, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.4246, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4246, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.819e-05/0.4246, allocations: 23.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.4249, allocations: 136.7 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.425, allocations: 54.56 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.425, allocations: 28.84 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.4256, allocations: 75.92 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.4256, allocations: 34.5 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.4256, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001424/0.4271, allocations: 459.5 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4271, allocations: 51.41 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.4272, allocations: 109.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4272, allocations: 25.7 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.4274, allocations: 88.14 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.4274, allocations: 39.69 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.4275, allocations: 21.72 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4277, allocations: 318.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.4277, allocations: 16 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-05/0.4277, allocations: 27.98 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.4278, allocations: 56.84 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4278, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001663/0.428, allocations: 101.1 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.428, allocations: 8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.428, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4281, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4282, allocations: 23.92 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4282, allocations: 7.938 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.4282, allocations: 4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4282, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.4283, allocations: 113.8 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.4284, allocations: 7.953 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.4286, allocations: 113.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4286, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.4286, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4286, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.4291, allocations: 325.5 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4291, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4292, allocations: 23.92 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4292, allocations: 4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.4292, allocations: 4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4292, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4292, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.4295, allocations: 219.4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.4295, allocations: 8.016 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.4295, allocations: 4.062 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4296, allocations: 8 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.4297, allocations: 11.92 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.4297, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.4297, allocations: 87.27 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4297, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002998/0.43, allocations: 43.81 kB / 1.331 GB, free: 12.39 MB / 1.029 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 (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.0007997/0.4308, allocations: 0.7947 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.431, allocations: 55.92 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.431, allocations: 4.062 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.431, allocations: 35.92 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.4313, allocations: 7.938 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.4329, allocations: 1.404 MB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.5e-05/0.433, allocations: 71.95 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.835e-05/0.4331, allocations: 32.16 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.4331, allocations: 15.44 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4331, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.4679, allocations: 2.661 MB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.75, allocations: 5.562 kB / 1.336 GB, free: 7.344 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.769242836977355]