Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.0007969/0.0007969, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008197/0.0008197, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8681/0.8681, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.379e-05, allocations: 2.281 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002522/0.002546, allocations: 1.975 MB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.004088, allocations: 1.294 MB / 0.9842 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.004206, allocations: 4 kB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.004576, allocations: 159.3 kB / 0.9843 GB, free: 15.15 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.004958, allocations: 215 kB / 0.9845 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.005279, allocations: 167.5 kB / 0.9847 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.00565, allocations: 347 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.005799, allocations: 28.91 kB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.006035, allocations: 191.5 kB / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.006487, allocations: 139.6 kB / 0.9854 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.006521, allocations: 16 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.006654, allocations: 59.91 kB / 0.9854 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.006748, allocations: 99.61 kB / 0.9855 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.006819, allocations: 71.7 kB / 0.9856 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.007171, allocations: 378.7 kB / 0.9859 GB, free: 13.47 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007174, allocations: 4 kB / 0.986 GB, free: 13.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.007175, allocations: 0 / 0.986 GB, free: 13.46 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.00718, allocations: 0 / 0.986 GB, free: 13.46 MB / 0.948 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.0007687/0.007949, allocations: 0.5818 MB / 0.9865 GB, free: 12.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.007988, allocations: 8.031 kB / 0.9865 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.008023, allocations: 42.73 kB / 0.9866 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.008084, allocations: 40.7 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.008454, allocations: 312.2 kB / 0.9869 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.008472, allocations: 11.94 kB / 0.9869 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.00849, allocations: 15.94 kB / 0.9869 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.008686, allocations: 113.5 kB / 0.987 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.008695, allocations: 0 / 0.987 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.008707, allocations: 0 / 0.987 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.008715, allocations: 4 kB / 0.987 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.008836, allocations: 67.94 kB / 0.9871 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.009463, allocations: 447.6 kB / 0.9875 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.009696, allocations: 130.8 kB / 0.9877 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.00977, allocations: 56.77 kB / 0.9877 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.009788, allocations: 0 / 0.9877 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.009971, allocations: 119.3 kB / 0.9878 GB, free: 11.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.009972, allocations: 0 / 0.9878 GB, free: 11.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0003706/0.01034, allocations: 239 kB / 0.9881 GB, free: 11.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.01038, allocations: 59.34 kB / 0.9881 GB, free: 11.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.01079, allocations: 0.5289 MB / 0.9886 GB, free: 10.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.01081, allocations: 29.7 kB / 0.9887 GB, free: 10.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.0109, allocations: 172.6 kB / 0.9888 GB, free: 10.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.01093, allocations: 43.62 kB / 0.9889 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.01101, allocations: 69.95 kB / 0.9889 GB, free: 10.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.0111, allocations: 346.8 kB / 0.9893 GB, free: 9.879 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.01123, allocations: 104.5 kB / 0.9894 GB, free: 9.777 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.01137, allocations: 132.8 kB / 0.9895 GB, free: 9.641 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.01158, allocations: 195.5 kB / 0.9897 GB, free: 9.441 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01158, allocations: 0 / 0.9897 GB, free: 9.441 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003521/0.01194, allocations: 341.2 kB / 0.99 GB, free: 9.102 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01195, allocations: 6.344 kB / 0.99 GB, free: 9.098 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01196, allocations: 0 / 0.99 GB, free: 9.098 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01197, allocations: 7.938 kB / 0.99 GB, free: 9.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.01211, allocations: 51.97 kB / 0.9901 GB, free: 9.039 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01212, allocations: 3.938 kB / 0.9901 GB, free: 9.035 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.01219, allocations: 19.89 kB / 0.9901 GB, free: 9.016 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.01221, allocations: 11.98 kB / 0.9901 GB, free: 9.004 MB / 0.948 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.01235, allocations: 186.6 kB / 0.9903 GB, free: 8.812 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.01238, allocations: 39.7 kB / 0.9903 GB, free: 8.773 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.01266, allocations: 208.7 kB / 0.9905 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01266, allocations: 7.938 kB / 0.9905 GB, free: 8.559 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01267, allocations: 0 / 0.9905 GB, free: 8.559 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01267, allocations: 3.984 kB / 0.9905 GB, free: 8.555 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.01285, allocations: 260.6 kB / 0.9908 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.01286, allocations: 4 kB / 0.9908 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.01291, allocations: 16 kB / 0.9908 GB, free: 8.238 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01291, allocations: 4 kB / 0.9908 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01292, allocations: 3.984 kB / 0.9908 GB, free: 8.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01292, allocations: 3.938 kB / 0.9908 GB, free: 8.227 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01292, allocations: 0 / 0.9908 GB, free: 8.227 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.01315, allocations: 231.5 kB / 0.991 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.0132, allocations: 43.7 kB / 0.9911 GB, free: 7.941 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.01323, allocations: 7.984 kB / 0.9911 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.01328, allocations: 7.938 kB / 0.9911 GB, free: 7.926 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.01334, allocations: 23.97 kB / 0.9911 GB, free: 7.902 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01335, allocations: 11.98 kB / 0.9911 GB, free: 7.891 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002425/0.01359, allocations: 327.1 kB / 0.9914 GB, free: 7.574 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01359, allocations: 0 / 0.9914 GB, free: 7.574 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002314/0.01383, allocations: 59.94 kB / 0.9915 GB, free: 7.516 MB / 0.948 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001463/0.01529, allocations: 1.107 MB / 0.9926 GB, free: 6.566 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.01557, allocations: 187.8 kB / 0.9927 GB, free: 6.383 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01557, allocations: 4.125 kB / 0.9927 GB, free: 6.379 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.01566, allocations: 59.91 kB / 0.9928 GB, free: 6.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.01596, allocations: 101.9 kB / 0.9929 GB, free: 6.234 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.01876, allocations: 3.228 MB / 0.9961 GB, free: 2.906 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.01889, allocations: 195.8 kB / 0.9962 GB, free: 2.699 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.01901, allocations: 62.92 kB / 0.9963 GB, free: 2.637 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.01914, allocations: 112.5 kB / 0.9964 GB, free: 2.527 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/0.01914, allocations: 0 / 0.9964 GB, free: 2.527 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.04328, allocations: 8.474 MB / 1.005 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.158, allocations: 8.5 kB / 1.005 GB, free: 10.17 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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: 11.121917053125799]