Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.001117/0.001117, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001532/0.001532, allocations: 172.7 kB / 15.95 MB, free: 208 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.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.677/2.677, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003951, allocations: 11.98 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7863, allocations: 146.8 MB / 0.9812 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0009414/0.7872, allocations: 490.2 kB / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.7883, allocations: 0.8256 MB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.7884, allocations: 0 / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.7886, allocations: 55.86 kB / 0.9825 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.7887, allocations: 35.83 kB / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.434e-05/0.7888, allocations: 19.98 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.7889, allocations: 71.75 kB / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.789, allocations: 19.98 kB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.7891, allocations: 31.89 kB / 0.9827 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.7892, allocations: 67.8 kB / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.7893, allocations: 8 kB / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.7893, allocations: 4 kB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.7894, allocations: 35.89 kB / 0.9828 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.7894, allocations: 37.64 kB / 0.9828 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.7895, allocations: 83.83 kB / 0.9829 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7895, allocations: 0 / 0.9829 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7895, allocations: 0 / 0.9829 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7895, allocations: 0 / 0.9829 GB, free: 4.512 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007735/0.7903, allocations: 465 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7904, allocations: 8.031 kB / 0.9833 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.7904, allocations: 38.56 kB / 0.9834 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.7905, allocations: 11.91 kB / 0.9834 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.7907, allocations: 208.3 kB / 0.9836 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.7907, allocations: 4 kB / 0.9836 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.7907, allocations: 4 kB / 0.9836 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.7911, allocations: 171.2 kB / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.7912, allocations: 0 / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.7912, allocations: 0 / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7912, allocations: 4 kB / 0.9838 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.7917, allocations: 207.8 kB / 0.9839 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.7926, allocations: 0.5125 MB / 0.9844 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.793, allocations: 181.1 kB / 0.9846 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.7932, allocations: 109.7 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.7933, allocations: 3.984 kB / 0.9847 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.7933, allocations: 38.56 kB / 0.9848 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.7933, allocations: 0 / 0.9848 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0008404/0.7942, allocations: 329.2 kB / 0.9851 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.7942, allocations: 85.11 kB / 0.9852 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.7944, allocations: 168.1 kB / 0.9853 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.7945, allocations: 25.7 kB / 0.9853 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.7945, allocations: 104.1 kB / 0.9854 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.7946, allocations: 31.55 kB / 0.9855 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.7946, allocations: 3.938 kB / 0.9855 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7947, allocations: 326.8 kB / 0.9858 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.7949, allocations: 95.92 kB / 0.9859 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.7952, allocations: 109.6 kB / 0.986 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.7954, allocations: 103.9 kB / 0.9861 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7954, allocations: 0 / 0.9861 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006494/0.7961, allocations: 241.8 kB / 0.9863 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7961, allocations: 9.25 kB / 0.9863 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7961, allocations: 0 / 0.9863 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.7961, allocations: 0 / 0.9863 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.7963, allocations: 39.95 kB / 0.9864 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7964, allocations: 4 kB / 0.9864 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.7965, allocations: 40 kB / 0.9864 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.7965, allocations: 7.984 kB / 0.9864 GB, free: 0.6289 MB / 0.7325 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 (8): * Single equations (assignments): 8 * 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.0001046/0.7966, allocations: 121.8 kB / 0.9865 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.7967, allocations: 19.8 kB / 0.9865 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.7967, allocations: 20.25 kB / 0.9866 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.7968, allocations: 0 / 0.9866 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7968, allocations: 8 kB / 0.9866 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7968, allocations: 0 / 0.9866 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.7971, allocations: 221.6 kB / 0.9868 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7971, allocations: 3.953 kB / 0.9868 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.7972, allocations: 43.89 kB / 0.9868 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.7973, allocations: 4 kB / 0.9868 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7973, allocations: 0 / 0.9868 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7973, allocations: 4 kB / 0.9868 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7973, allocations: 0 / 0.9868 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.7979, allocations: 410.6 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.798, allocations: 100.8 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.798, allocations: 0 / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.7982, allocations: 35.95 kB / 0.9874 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.7983, allocations: 11.92 kB / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.7983, allocations: 4 kB / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000101/0.7984, allocations: 123.2 kB / 0.9875 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7984, allocations: 7.938 kB / 0.9875 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002721/0.7987, allocations: 16 kB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.00102/0.7997, allocations: 0.942 MB / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.8003, allocations: 199.8 kB / 0.9886 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8003, allocations: 0 / 0.9886 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.8006, allocations: 111.9 kB / 0.9887 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.801, allocations: 17.47 kB / 0.9888 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.8028, allocations: 0.954 MB / 0.9897 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.8031, allocations: 0.708 MB / 0.9904 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.783e-05/0.8032, allocations: 27.97 kB / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.8033, allocations: 31.42 kB / 0.9904 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.8033, allocations: 4 kB / 0.9904 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.8162, allocations: 2.276 MB / 0.9927 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.8165, allocations: 201.2 kB / 0.9928 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.656, allocations: 2.672 kB / 0.9929 GB, free: 9.945 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat does not exist to compare? outputFormat=mat