Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.001341/0.001341, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001113/0.001113, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.708/1.708, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.08/3.08, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004307, allocations: 16 kB / 0.8375 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9139/0.9144, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001238/0.9157, allocations: 430.4 kB / 0.9813 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.9173, allocations: 0.7986 MB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.9173, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.9174, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.9175, allocations: 3.984 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.738e-05/0.9176, allocations: 15.98 kB / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.9177, allocations: 23.91 kB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.9179, allocations: 8 kB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.918, allocations: 15.97 kB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.918, allocations: 15.92 kB / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.9181, allocations: 4 kB / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.9181, allocations: 0 / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.9181, allocations: 11.92 kB / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.9182, allocations: 29.7 kB / 0.9822 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.363e-05/0.9183, allocations: 27.94 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.9183, allocations: 0 / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.6e-06/0.9183, allocations: 0 / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.9183, allocations: 3.938 kB / 0.9822 GB, free: 4.891 MB / 0.7325 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.0007296/0.9191, allocations: 369.5 kB / 0.9826 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.9192, allocations: 12.03 kB / 0.9826 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.9192, allocations: 30.56 kB / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.9193, allocations: 7.844 kB / 0.9826 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.9195, allocations: 167.1 kB / 0.9828 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.9195, allocations: 0 / 0.9828 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.9195, allocations: 7.938 kB / 0.9828 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.9199, allocations: 81.61 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.92, allocations: 0 / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.92, allocations: 4 kB / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.92, allocations: 0 / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.9205, allocations: 83.92 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.921, allocations: 272.9 kB / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.9214, allocations: 74.53 kB / 0.9833 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.9215, allocations: 3.984 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.9215, allocations: 30.56 kB / 0.9833 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.9215, allocations: 0 / 0.9833 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0009232/0.9225, allocations: 161.6 kB / 0.9835 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.9225, allocations: 51.41 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.9227, allocations: 113.8 kB / 0.9836 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.9227, allocations: 29.7 kB / 0.9837 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.9228, allocations: 92.12 kB / 0.9838 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.9229, allocations: 15.75 kB / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.9229, allocations: 0 / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9231, allocations: 314.8 kB / 0.9841 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.9233, allocations: 39.95 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.9236, allocations: 43.97 kB / 0.9841 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.9239, allocations: 43.97 kB / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9239, allocations: 0 / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006046/0.9245, allocations: 125.6 kB / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.9246, allocations: 4 kB / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.9246, allocations: 0 / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.9246, allocations: 0 / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.9248, allocations: 19.98 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.9249, allocations: 3.938 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.925, allocations: 23.92 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.925, allocations: 0 / 0.9844 GB, free: 2.484 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.9252, allocations: 119.2 kB / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.9252, allocations: 7.859 kB / 0.9845 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.9253, allocations: 7.906 kB / 0.9845 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.9253, allocations: 4 kB / 0.9845 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9253, allocations: 336 / 0.9845 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9253, allocations: 4 kB / 0.9845 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.9256, allocations: 165.7 kB / 0.9847 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.9257, allocations: 4 kB / 0.9847 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.9258, allocations: 27.91 kB / 0.9847 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.9259, allocations: 3.984 kB / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.9259, allocations: 3.953 kB / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.9259, allocations: 0 / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9259, allocations: 0 / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.9266, allocations: 215.4 kB / 0.9849 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.9266, allocations: 85 kB / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.9267, allocations: 8 kB / 0.985 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.9269, allocations: 19.94 kB / 0.985 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.927, allocations: 0 / 0.985 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.927, allocations: 0 / 0.985 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.9271, allocations: 95.27 kB / 0.9851 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9271, allocations: 0 / 0.9851 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004149/0.9275, allocations: 4 kB / 0.9851 GB, free: 1.629 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.9287, allocations: 0.7437 MB / 0.9858 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006371/0.9294, allocations: 95.86 kB / 0.9859 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.9294, allocations: 0 / 0.9859 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.9297, allocations: 43.97 kB / 0.986 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.9302, allocations: 17.19 kB / 0.986 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/0.931, allocations: 166.2 kB / 0.9861 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.9315, allocations: 0.6848 MB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.9316, allocations: 0 / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.9317, allocations: 15.44 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/0.9317, allocations: 0 / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.9498, allocations: 1.277 MB / 0.9881 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.9502, allocations: 188.2 kB / 0.9882 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.512, allocations: 0 / 0.9882 GB, free: 14.39 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat