Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",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.001439/0.001439, allocations: 99.47 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.001801/0.001801, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.384/2.384, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.047/4.047, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006062/0.0006064, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181/1.182, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003408/1.185, allocations: 1.644 MB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002817/1.188, allocations: 1.104 MB / 0.9836 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/1.188, allocations: 7.938 kB / 0.9836 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007059/1.189, allocations: 139.6 kB / 0.9837 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005924/1.19, allocations: 131.6 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/1.191, allocations: 178.6 kB / 0.984 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005834/1.191, allocations: 187.6 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/1.192, allocations: 48.36 kB / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/1.192, allocations: 127.5 kB / 0.9844 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/1.192, allocations: 115.5 kB / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/1.192, allocations: 8 kB / 0.9845 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/1.192, allocations: 39.91 kB / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/1.193, allocations: 83.78 kB / 0.9846 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/1.193, allocations: 65.52 kB / 0.9846 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/1.193, allocations: 277.6 kB / 0.9849 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/1.193, allocations: 0 / 0.9849 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.854e-06/1.193, allocations: 0 / 0.9849 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.501e-05/1.193, allocations: 0 / 0.9849 GB, free: 2.16 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001293/1.195, allocations: 0.5834 MB / 0.9855 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.195, allocations: 11.97 kB / 0.9855 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.609e-05/1.195, allocations: 42.56 kB / 0.9855 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/1.195, allocations: 31.62 kB / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/1.195, allocations: 353.3 kB / 0.9859 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/1.196, allocations: 7.938 kB / 0.9859 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/1.196, allocations: 19.92 kB / 0.9859 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/1.196, allocations: 103.5 kB / 0.986 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.196, allocations: 0 / 0.986 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/1.196, allocations: 4 kB / 0.986 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.196, allocations: 4 kB / 0.986 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/1.196, allocations: 63.86 kB / 0.9861 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/1.197, allocations: 0.4926 MB / 0.9866 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/1.198, allocations: 134.8 kB / 0.9867 GB, free: 164 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/1.198, allocations: 3.938 kB / 0.9867 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003189/1.198, allocations: 103.3 kB / 0.9868 GB, free: 44 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/1.198, allocations: 0 / 0.9868 GB, free: 44 kB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007906/1.199, allocations: 221.4 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/1.199, allocations: 59.41 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/1.2, allocations: 0.5053 MB / 0.9876 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/1.2, allocations: 37.62 kB / 0.9876 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/1.2, allocations: 168.3 kB / 0.9878 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/1.2, allocations: 35.64 kB / 0.9878 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/1.2, allocations: 4 kB / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.2, allocations: 350.8 kB / 0.9881 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/1.201, allocations: 96.52 kB / 0.9882 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/1.201, allocations: 131.6 kB / 0.9884 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/1.201, allocations: 108 kB / 0.9885 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.201, allocations: 0 / 0.9885 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007705/1.202, allocations: 317.1 kB / 0.9888 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.202, allocations: 4 kB / 0.9888 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.202, allocations: 8.047 kB / 0.9888 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.202, allocations: 4.219 kB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/1.203, allocations: 51.91 kB / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/1.203, allocations: 3.938 kB / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/1.203, allocations: 23.83 kB / 0.9889 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/1.203, allocations: 12 kB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002791/1.203, allocations: 189.6 kB / 0.989 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/1.203, allocations: 35.62 kB / 0.9891 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/1.203, allocations: 39.12 kB / 0.9891 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.203, allocations: 3.938 kB / 0.9891 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.203, allocations: 0 / 0.9891 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/1.203, allocations: 0 / 0.9891 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/1.204, allocations: 305.3 kB / 0.9894 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.204, allocations: 0 / 0.9894 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.204, allocations: 19.98 kB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.204, allocations: 0 / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/1.204, allocations: 0 / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.204, allocations: 7.938 kB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.204, allocations: 0 / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/1.205, allocations: 207.6 kB / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/1.205, allocations: 116.7 kB / 0.9897 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/1.205, allocations: 8 kB / 0.9898 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/1.205, allocations: 4 kB / 0.9898 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/1.205, allocations: 19.97 kB / 0.9898 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/1.205, allocations: 4 kB / 0.9898 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005021/1.206, allocations: 315.1 kB / 0.9901 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.206, allocations: 0 / 0.9901 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005104/1.206, allocations: 67.83 kB / 0.9901 GB, free: 12.47 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002281/1.208, allocations: 1.068 MB / 0.9912 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006167/1.209, allocations: 188.8 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.209, allocations: 0 / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/1.209, allocations: 63.91 kB / 0.9914 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/1.21, allocations: 76.88 kB / 0.9915 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/1.212, allocations: 1.17 MB / 0.9926 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/1.213, allocations: 0.7909 MB / 0.9934 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002881/1.213, allocations: 54.92 kB / 0.9935 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/1.213, allocations: 107.4 kB / 0.9936 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of SimCode: time 4.679e-06/1.213, allocations: 0 / 0.9936 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/1.248, allocations: 6.782 MB / 1 GB, free: 2.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003503/1.248, allocations: 239.7 kB / 1 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.782, allocations: 3 kB / 1 GB, free: 2.164 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat does not exist to compare? outputFormat=mat