Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.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.001794/0.001794, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002215/0.002215, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.368/3.368, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",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.001968/0.001968, allocations: 66.97 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4244, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003491/0.4279, allocations: 1.5 MB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.4283, allocations: 103.7 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.4284, allocations: 4 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.992e-05/0.4284, allocations: 11.86 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.4285, allocations: 7.938 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.4287, allocations: 23.91 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.4289, allocations: 35.92 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.429, allocations: 7.984 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.113e-05/0.4291, allocations: 19.94 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.641e-05/0.4291, allocations: 23.89 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.4292, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.457e-05/0.4292, allocations: 23.98 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.4293, allocations: 19.86 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.4294, allocations: 15.94 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.4295, allocations: 56.02 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4295, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4295, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.4296, allocations: 0 / 1.328 GB, free: 15.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006342/0.4302, allocations: 310 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4302, allocations: 8.031 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.557e-05/0.4303, allocations: 4.188 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.4303, allocations: 34.75 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.4303, allocations: 4.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.4305, allocations: 127.4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4305, allocations: 4.375 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.4305, allocations: 384 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.4308, allocations: 85.84 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4308, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4309, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4309, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.4312, allocations: 83.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.4316, allocations: 248 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.4318, allocations: 66.47 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.432, allocations: 44.92 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.4322, allocations: 35.97 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4323, allocations: 30.56 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.4323, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000603/0.4329, allocations: 153.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4329, allocations: 55.41 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.433, allocations: 128.7 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.4331, allocations: 29.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.4331, allocations: 88.14 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4332, allocations: 15.89 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.4332, allocations: 9.719 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4333, allocations: 326.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4335, allocations: 39.95 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.4336, allocations: 39.95 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.4339, allocations: 76.78 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4339, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003373/0.4343, allocations: 113.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4343, allocations: 5.719 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4343, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4343, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.4344, allocations: 23.97 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4344, allocations: 3.938 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.4345, allocations: 15.92 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4345, allocations: 4 kB / 1.331 GB, free: 13.29 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 (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 prepare postOptimizeDAE: time 9.212e-05/0.4346, allocations: 118.3 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.4346, allocations: 11.94 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.435, allocations: 113.6 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.435, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.435, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.435, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.4352, allocations: 152.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4352, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.4353, allocations: 11.98 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4353, allocations: 7.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4353, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4353, allocations: 7.875 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4353, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.4357, allocations: 215.4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.4357, allocations: 3.953 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.4358, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4359, allocations: 15.97 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.4359, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4359, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.242e-05/0.436, allocations: 103.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.436, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002421/0.4362, allocations: 8 kB / 1.331 GB, free: 12.45 MB / 1.029 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 (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.0007954/0.437, allocations: 0.7439 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.4374, allocations: 83.95 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4374, allocations: 4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4376, allocations: 47.89 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4378, allocations: 11.91 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.4384, allocations: 191 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.249e-05/0.4385, allocations: 71.33 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.4385, allocations: 8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.4386, allocations: 19.44 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.4386, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.4604, allocations: 2.084 MB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.72, allocations: 15.06 kB / 1.334 GB, free: 9.246 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.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.963634373038076]