Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.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.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",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.001023/0.001023, allocations: 91.84 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.001239/0.001239, 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.429/1.429, allocations: 223.2 MB / 240 MB, free: 5.449 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.48/2.48, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 15.98 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8156, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001029/0.8167, allocations: 394.5 kB / 0.9542 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007924/0.8176, allocations: 0.7789 MB / 0.955 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.8176, allocations: 0 / 0.955 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.8176, allocations: 1.188 kB / 0.955 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.8177, allocations: 3.938 kB / 0.955 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.8178, allocations: 10.02 kB / 0.955 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.03e-05/0.8179, allocations: 15.34 kB / 0.955 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.818, allocations: 15.19 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.773e-05/0.8181, allocations: 7.031 kB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.8181, allocations: 10.73 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.8182, allocations: 1 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.8182, allocations: 1.375 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.8182, allocations: 4 kB / 0.9551 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.8182, allocations: 26.86 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.13e-05/0.8183, allocations: 16.03 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.8183, allocations: 0 / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8183, allocations: 0 / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.8183, allocations: 4 kB / 0.9551 GB, free: 7.105 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003723/0.8187, allocations: 341.6 kB / 0.9554 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8187, allocations: 9.531 kB / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.8188, allocations: 31.91 kB / 0.9555 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.417e-05/0.8188, allocations: 9.109 kB / 0.9555 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.028e-05/0.8189, allocations: 164.2 kB / 0.9557 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.8189, allocations: 1.25 kB / 0.9557 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.8189, allocations: 5.438 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.8191, allocations: 53.2 kB / 0.9557 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8191, allocations: 0 / 0.9557 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.8191, allocations: 1.562 kB / 0.9557 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8191, allocations: 0 / 0.9557 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.8193, allocations: 47.8 kB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.8196, allocations: 257.4 kB / 0.956 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.8198, allocations: 39.38 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.8199, allocations: 26.97 kB / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.8199, allocations: 0.5938 kB / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.8199, allocations: 32.25 kB / 0.9561 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8199, allocations: 0 / 0.9561 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.8203, allocations: 115.1 kB / 0.9562 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.8203, allocations: 51.41 kB / 0.9563 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.8204, allocations: 102.7 kB / 0.9564 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.8204, allocations: 30.8 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.8205, allocations: 81.33 kB / 0.9565 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.8205, allocations: 8.969 kB / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.8205, allocations: 0 / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.8206, allocations: 319.8 kB / 0.9568 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.8207, allocations: 17.64 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.8207, allocations: 26.7 kB / 0.9568 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.8208, allocations: 18.17 kB / 0.9568 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8208, allocations: 0 / 0.9568 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001866/0.821, allocations: 81.72 kB / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.821, allocations: 6.406 kB / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8211, allocations: 0.9375 kB / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.8211, allocations: 3.953 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.8212, allocations: 13.08 kB / 0.9569 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8212, allocations: 0 / 0.9569 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.8212, allocations: 17.98 kB / 0.957 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.8213, allocations: 1.125 kB / 0.957 GB, free: 5.27 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 (2): * Single equations (assignments): 2 * 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 5.423e-05/0.8213, allocations: 112 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.8213, allocations: 1.312 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.8216, allocations: 83.06 kB / 0.9571 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.8216, allocations: 1.062 kB / 0.9571 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.8216, allocations: 7.953 kB / 0.9571 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8216, allocations: 0.9375 kB / 0.9571 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.8218, allocations: 161.5 kB / 0.9573 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8218, allocations: 5.094 kB / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.8218, allocations: 8.656 kB / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8218, allocations: 4.031 kB / 0.9573 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.8219, allocations: 3.938 kB / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8219, allocations: 5.328 kB / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8219, allocations: 0 / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.8221, allocations: 176.8 kB / 0.9575 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.8221, allocations: 82.28 kB / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.8221, allocations: 0 / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.8222, allocations: 6.625 kB / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.8223, allocations: 5.547 kB / 0.9576 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.8223, allocations: 0 / 0.9576 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.525e-05/0.8223, allocations: 83.58 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8223, allocations: 4.031 kB / 0.9577 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002097/0.8225, allocations: 2.938 kB / 0.9577 GB, free: 4.527 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 (2): * Single equations (assignments): 2 * 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.0004483/0.823, allocations: 0.7047 MB / 0.9584 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.8232, allocations: 51.3 kB / 0.9584 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8232, allocations: 96 / 0.9584 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.8233, allocations: 27.95 kB / 0.9584 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.8236, allocations: 1.969 kB / 0.9584 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.824, allocations: 131.1 kB / 0.9586 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.8241, allocations: 0.6769 MB / 0.9592 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.8241, allocations: 9.062 kB / 0.9592 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.8242, allocations: 12.62 kB / 0.9592 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8242, allocations: 0 / 0.9592 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.835, allocations: 1.017 MB / 0.9602 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.8352, allocations: 191.8 kB / 0.9604 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.529, allocations: 0 / 0.9604 GB, free: 2.234 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat does not exist to compare? outputFormat=mat