Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.001484/0.001484, allocations: 111 kB / 16.46 MB, free: 6.453 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.001509/0.001509, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.296/3.296, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.QuadraticLinear,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",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.001978/0.001978, allocations: 67.77 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3818, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003614/0.3855, allocations: 1.505 MB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.3859, allocations: 111.7 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.3859, allocations: 4 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.29e-05/0.386, allocations: 3.938 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.386, allocations: 7.938 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.3863, allocations: 31.89 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3864, allocations: 39.86 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3865, allocations: 11.98 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.3866, allocations: 15.92 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.3866, allocations: 19.92 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3866, allocations: 7.938 kB / 1.323 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.3867, allocations: 23.92 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.3868, allocations: 19.92 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3868, allocations: 19.86 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.387, allocations: 60.08 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.387, allocations: 0 / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.273e-06/0.387, allocations: 0 / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.387, allocations: 3.938 kB / 1.323 GB, free: 1.441 MB / 1.014 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.0006434/0.3876, allocations: 383.1 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3877, allocations: 11.98 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.3877, allocations: 34.75 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.3878, allocations: 8.891 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3879, allocations: 185.8 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3879, allocations: 4.375 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3879, allocations: 4.375 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.3882, allocations: 74.16 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3882, allocations: 7.938 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3882, allocations: 0 / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3882, allocations: 0 / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.3886, allocations: 75.92 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.389, allocations: 288.9 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3892, allocations: 66.47 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.3894, allocations: 48.91 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.3897, allocations: 105.1 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3897, allocations: 30.56 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3897, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006379/0.3903, allocations: 153.5 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3904, allocations: 51.41 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3905, allocations: 127.5 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3905, allocations: 25.7 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.3906, allocations: 92.08 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.3906, allocations: 19.84 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.3906, allocations: 21.7 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3908, allocations: 310.8 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3909, allocations: 35.95 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3911, allocations: 35.97 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.3914, allocations: 84.72 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3914, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003737/0.3918, allocations: 105.6 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3918, allocations: 8 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3918, allocations: 4.328 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3918, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.392, allocations: 27.84 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.392, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.3921, allocations: 11.98 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3921, allocations: 4 kB / 1.325 GB, free: 14.79 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 0.0001043/0.3922, allocations: 113.8 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.3922, allocations: 7.938 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.3927, allocations: 125.5 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3927, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3927, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3927, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.3929, allocations: 177.6 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3929, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.393, allocations: 23.92 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.393, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.393, allocations: 4 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.393, allocations: 4 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.393, allocations: 0 / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.3935, allocations: 211.4 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.3935, allocations: 81.06 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3936, allocations: 4 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3937, allocations: 11.97 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.3937, allocations: 8 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3937, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001015/0.3938, allocations: 95.27 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3938, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004225/0.3942, allocations: 16 kB / 1.326 GB, free: 13.81 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.001171/0.3954, allocations: 0.7474 MB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.396, allocations: 79.92 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.396, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.3963, allocations: 47.89 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3967, allocations: 2.5 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/0.3976, allocations: 198.8 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.398, allocations: 0.6885 MB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.3981, allocations: 0 / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.3981, allocations: 19.38 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3981, allocations: 0 / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.4304, allocations: 1.898 MB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.648, allocations: 7.547 kB / 1.329 GB, free: 10.13 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.446941026952118]