Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.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.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sin",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.000995/0.0009951, 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.001269/0.001269, 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.4/1.4, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.659/2.659, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003632, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.766, allocations: 146.8 MB / 0.9812 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin): time 0.0007427/0.7668, allocations: 333.3 kB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.7677, allocations: 0.7962 MB / 0.9823 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.7677, allocations: 4 kB / 0.9823 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.7677, allocations: 0 / 0.9823 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.7678, allocations: 3.938 kB / 0.9823 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.7679, allocations: 11.97 kB / 0.9823 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.768, allocations: 19.94 kB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.768, allocations: 3.984 kB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.265e-05/0.7681, allocations: 7.938 kB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.7682, allocations: 4 kB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.7682, allocations: 0 / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.7682, allocations: 0 / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.7682, allocations: 11.98 kB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.7683, allocations: 25.7 kB / 0.9824 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.191e-05/0.7683, allocations: 11.97 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7683, allocations: 7.875 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7683, allocations: 4 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.7683, allocations: 0 / 0.9824 GB, free: 4.992 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003455/0.7687, allocations: 325.6 kB / 0.9827 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7687, allocations: 8.031 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.7688, allocations: 38.56 kB / 0.9827 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.837e-05/0.7688, allocations: 0 / 0.9827 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.7689, allocations: 163.1 kB / 0.9829 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.7689, allocations: 0 / 0.9829 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.7689, allocations: 8 kB / 0.9829 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.7691, allocations: 37.64 kB / 0.9829 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.7691, allocations: 0 / 0.9829 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.7691, allocations: 0 / 0.9829 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.7691, allocations: 4 kB / 0.9829 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.7692, allocations: 27.91 kB / 0.983 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.7693, allocations: 153.7 kB / 0.9831 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.882e-05/0.7694, allocations: 22.61 kB / 0.9831 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.7694, allocations: 16.91 kB / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.7695, allocations: 0 / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.7695, allocations: 34.56 kB / 0.9832 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.7695, allocations: 0 / 0.9832 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001838/0.7697, allocations: 65.48 kB / 0.9832 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.7698, allocations: 63.34 kB / 0.9833 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.7698, allocations: 97.84 kB / 0.9834 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.7699, allocations: 25.7 kB / 0.9834 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.7699, allocations: 86.44 kB / 0.9835 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.7699, allocations: 4.125 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.7699, allocations: 4 kB / 0.9835 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.77, allocations: 314.8 kB / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.7701, allocations: 8 kB / 0.9838 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.7701, allocations: 8 kB / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.7701, allocations: 11.98 kB / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7702, allocations: 4.062 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001022/0.7703, allocations: 53.62 kB / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.7703, allocations: 4 kB / 0.9839 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7703, allocations: 3.938 kB / 0.9839 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.7703, allocations: 3.953 kB / 0.9839 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.7704, allocations: 7.984 kB / 0.9839 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.7704, allocations: 0 / 0.9839 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.7704, allocations: 11.97 kB / 0.9839 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7705, allocations: 0 / 0.9839 GB, free: 3.184 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.818e-05/0.7705, allocations: 109.8 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.7705, allocations: 3.906 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542e-05/0.7706, allocations: 7.375 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7706, allocations: 3.984 kB / 0.984 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.7706, allocations: 7.953 kB / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7706, allocations: 0 / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.7708, allocations: 149.7 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7708, allocations: 4 kB / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.7708, allocations: 4 kB / 0.9842 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7708, allocations: 0 / 0.9842 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.7708, allocations: 4 kB / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7708, allocations: 0 / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7708, allocations: 0 / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.771, allocations: 89 kB / 0.9843 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.771, allocations: 77.11 kB / 0.9844 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.7711, allocations: 0 / 0.9844 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.7711, allocations: 4 kB / 0.9844 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.7711, allocations: 3.984 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.7711, allocations: 0 / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.7712, allocations: 83.23 kB / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7712, allocations: 0 / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001742/0.7714, allocations: 4 kB / 0.9845 GB, free: 2.547 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.0003946/0.7718, allocations: 0.6164 MB / 0.9851 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.7719, allocations: 23.95 kB / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7719, allocations: 0 / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.7719, allocations: 12 kB / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.7721, allocations: 4.562 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.7724, allocations: 146.1 kB / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.7727, allocations: 0.6772 MB / 0.9859 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.7727, allocations: 0 / 0.9859 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.7728, allocations: 15.42 kB / 0.9859 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.7728, allocations: 0 / 0.9859 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.7841, allocations: 0.9034 MB / 0.9868 GB, free: 216 kB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.7844, allocations: 199 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.572, allocations: 3.938 kB / 0.987 GB, free: 15.97 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sin_res.mat does not exist to compare? outputFormat=mat