Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.000763/0.0007631, allocations: 92.16 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.0007878/0.0007877, 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.352/1.352, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6884/0.6887, allocations: 142.3 MB / 0.9539 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.0009387/0.6897, allocations: 427.1 kB / 0.9543 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.6908, allocations: 0.7951 MB / 0.9551 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.6909, allocations: 1.469 kB / 0.9551 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.6909, allocations: 3.938 kB / 0.9551 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.691, allocations: 5 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.574e-05/0.6911, allocations: 13.45 kB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.6912, allocations: 33.33 kB / 0.9551 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.6913, allocations: 8.953 kB / 0.9551 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.6914, allocations: 16.98 kB / 0.9551 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.6915, allocations: 17.64 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.6915, allocations: 1.594 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.6916, allocations: 1.312 kB / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.6916, allocations: 1 kB / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.6916, allocations: 44.75 kB / 0.9552 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.376e-05/0.6917, allocations: 28.67 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6917, allocations: 1.156 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/0.6917, allocations: 3.938 kB / 0.9552 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.6917, allocations: 0 / 0.9552 GB, free: 7.043 MB / 0.7169 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.0005558/0.6923, allocations: 365.2 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.66e-05/0.6924, allocations: 9.938 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.6924, allocations: 34.56 kB / 0.9556 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.6925, allocations: 14.05 kB / 0.9556 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.6926, allocations: 165.6 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.6927, allocations: 1.469 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.6927, allocations: 1.406 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.693, allocations: 88.75 kB / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.693, allocations: 0 / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.693, allocations: 0 / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.693, allocations: 1.438 kB / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.6933, allocations: 90.94 kB / 0.956 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.6937, allocations: 267.8 kB / 0.9562 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.6939, allocations: 68.7 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.6941, allocations: 54.03 kB / 0.9563 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.6941, allocations: 0 / 0.9563 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.6941, allocations: 31.88 kB / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.6941, allocations: 0 / 0.9564 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004971/0.6946, allocations: 167.3 kB / 0.9565 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.6946, allocations: 51.41 kB / 0.9566 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.6947, allocations: 107.2 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.6947, allocations: 35.05 kB / 0.9567 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.6948, allocations: 81.7 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.6948, allocations: 17.25 kB / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.6948, allocations: 0 / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.6949, allocations: 320.3 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.695, allocations: 38.81 kB / 0.9571 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.6951, allocations: 43.12 kB / 0.9572 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.6953, allocations: 42.45 kB / 0.9572 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6953, allocations: 0.875 kB / 0.9572 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003066/0.6956, allocations: 119.9 kB / 0.9573 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6956, allocations: 7.125 kB / 0.9574 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.6956, allocations: 4 kB / 0.9574 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6957, allocations: 5.141 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.6958, allocations: 18.61 kB / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6958, allocations: 0 / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.6959, allocations: 20.56 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.6959, allocations: 8.25 kB / 0.9574 GB, free: 5.062 MB / 0.7169 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 6.549e-05/0.696, allocations: 112.1 kB / 0.9575 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.696, allocations: 9.969 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.696, allocations: 12.91 kB / 0.9575 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.696, allocations: 5.109 kB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6961, allocations: 0 / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6961, allocations: 1.031 kB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.6962, allocations: 169.3 kB / 0.9577 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6962, allocations: 0 / 0.9577 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.6963, allocations: 22.8 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6963, allocations: 1.031 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.6963, allocations: 0 / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6963, allocations: 1.062 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6963, allocations: 3.953 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.6967, allocations: 212 kB / 0.9579 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.6967, allocations: 86.23 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.6968, allocations: 8 kB / 0.958 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.6969, allocations: 16.42 kB / 0.958 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.6969, allocations: 5.359 kB / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.6969, allocations: 9.266 kB / 0.9581 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.697, allocations: 88.98 kB / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.41e-07/0.697, allocations: 0 / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002171/0.6972, allocations: 6.312 kB / 0.9581 GB, free: 4.328 MB / 0.7169 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.0006039/0.6978, allocations: 0.7477 MB / 0.9589 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.6981, allocations: 93.36 kB / 0.959 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6981, allocations: 0 / 0.959 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.6983, allocations: 51.58 kB / 0.959 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.6986, allocations: 10.34 kB / 0.959 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.699, allocations: 161.3 kB / 0.9592 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.6991, allocations: 0.683 MB / 0.9598 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.6992, allocations: 1.594 kB / 0.9598 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.6992, allocations: 16.88 kB / 0.9599 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.6992, allocations: 0 / 0.9599 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.7099, allocations: 1.292 MB / 0.9611 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.71, allocations: 196.4 kB / 0.9613 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.434, allocations: 1.25 kB / 0.9613 GB, free: 1.84 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat does not exist to compare? outputFormat=mat