Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 109.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.5 MB / 0.7287 GB, free: 13.28 MB / 0.5919 GB " [Timeout remaining time 177] 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.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 67.91 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.789, allocations: 160.7 MB / 1.213 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00195/0.7909, allocations: 0.6077 MB / 1.214 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.7917, allocations: 343.9 kB / 1.214 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.7918, allocations: 0 / 1.214 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.7918, allocations: 5.156 kB / 1.214 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.951e-05/0.7918, allocations: 0 / 1.214 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.7924, allocations: 119.6 kB / 1.214 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.492e-05/0.7924, allocations: 9 kB / 1.214 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.7925, allocations: 5.125 kB / 1.214 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.7925, allocations: 6.016 kB / 1.214 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.7925, allocations: 6 kB / 1.214 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.7925, allocations: 0.9688 kB / 1.214 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.793, allocations: 275.4 kB / 1.214 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.793, allocations: 12.94 kB / 1.214 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.793, allocations: 0.9688 kB / 1.214 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.7933, allocations: 91.41 kB / 1.214 GB, free: 2.887 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7933, allocations: 0 / 1.214 GB, free: 2.887 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7933, allocations: 4.844 kB / 1.214 GB, free: 2.883 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7933, allocations: 0 / 1.214 GB, free: 2.883 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004627/0.7937, allocations: 350.7 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7938, allocations: 14.56 kB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.7938, allocations: 30.75 kB / 1.215 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.7939, allocations: 3.125 kB / 1.215 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.794, allocations: 161.6 kB / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.794, allocations: 384 / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.7941, allocations: 2.656 kB / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.7942, allocations: 42.41 kB / 1.215 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7942, allocations: 3.938 kB / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.7942, allocations: 0 / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7942, allocations: 5.281 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.7942, allocations: 1.844 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.7944, allocations: 153.2 kB / 1.215 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.7945, allocations: 22.89 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.7945, allocations: 11.05 kB / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008472/0.7953, allocations: 460 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.7954, allocations: 35.69 kB / 1.216 GB, free: 1.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7954, allocations: 0 / 1.216 GB, free: 1.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000614/0.796, allocations: 255.5 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.796, allocations: 56.53 kB / 1.216 GB, free: 1.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.7961, allocations: 95.95 kB / 1.216 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7961, allocations: 27.11 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.7962, allocations: 92.11 kB / 1.216 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.7962, allocations: 18.22 kB / 1.216 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.7963, allocations: 12.69 kB / 1.216 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7964, allocations: 319.8 kB / 1.216 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.7964, allocations: 7.203 kB / 1.216 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.7965, allocations: 15.22 kB / 1.216 GB, free: 0.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.7965, allocations: 26.62 kB / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.7965, allocations: 1.062 kB / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.7966, allocations: 57.59 kB / 1.217 GB, free: 440 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7967, allocations: 9.531 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7967, allocations: 0 / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7967, allocations: 1.062 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.7968, allocations: 6.094 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.7968, allocations: 0.8438 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.7968, allocations: 0.75 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.7968, allocations: 5.906 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.807e-05/0.7969, allocations: 116 kB / 1.217 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.7969, allocations: 5 kB / 1.217 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.7971, allocations: 52.88 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7971, allocations: 1.031 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7971, allocations: 0.875 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7971, allocations: 0 / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.7972, allocations: 158 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7972, allocations: 0 / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.7973, allocations: 8.234 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.7973, allocations: 5.062 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.7973, allocations: 5.125 kB / 1.217 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7973, allocations: 0 / 1.217 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7973, allocations: 7.875 kB / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.7975, allocations: 74.38 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.7975, allocations: 90.09 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.7976, allocations: 1.094 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.7976, allocations: 5.141 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.7976, allocations: 1.094 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.7976, allocations: 1.156 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.7977, allocations: 77.75 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7977, allocations: 0 / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000233/0.7979, allocations: 26.94 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0006712/0.7986, allocations: 0.6499 MB / 1.218 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.7987, allocations: 14.62 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7987, allocations: 0 / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.7987, allocations: 14.27 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.7989, allocations: 1.031 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.8001, allocations: 1.14 MB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.8005, allocations: 0.6732 MB / 1.22 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.758e-05/0.8006, allocations: 7.172 kB / 1.22 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.8006, allocations: 8.938 kB / 1.22 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 8.81e-07/0.8006, allocations: 0.75 kB / 1.22 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.8276, allocations: 1.755 MB / 1.221 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/9.036, allocations: 10.92 kB / 1.221 GB, free: 12.33 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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: 15.02971768938005]