Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",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.0009442/0.0009438, allocations: 100.2 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.001149/0.001149, allocations: 177.3 kB / 15.94 MB, free: 228 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.303/1.303, allocations: 223.2 MB / 239.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.446/2.446, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 12 kB / 0.8375 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6898, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.0007892/0.6907, allocations: 413 kB / 0.9813 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.6915, allocations: 0.7752 MB / 0.982 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.6915, allocations: 0 / 0.982 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.6915, allocations: 0 / 0.982 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.6916, allocations: 7.922 kB / 0.982 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.103e-05/0.6917, allocations: 11.98 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.573e-05/0.6917, allocations: 8 kB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.6918, allocations: 7.984 kB / 0.9821 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.6919, allocations: 8 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.6919, allocations: 15.91 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.6919, allocations: 0 / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-06/0.6919, allocations: 0 / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.6919, allocations: 8 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.692, allocations: 25.7 kB / 0.9821 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.375e-05/0.692, allocations: 11.97 kB / 0.9821 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.692, allocations: 0 / 0.9821 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.472e-06/0.692, allocations: 0 / 0.9821 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.692, allocations: 0 / 0.9821 GB, free: 4.957 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003615/0.6924, allocations: 345.6 kB / 0.9825 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6924, allocations: 8.031 kB / 0.9825 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.6925, allocations: 30.56 kB / 0.9825 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.6925, allocations: 4 kB / 0.9825 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.6926, allocations: 167 kB / 0.9827 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.6926, allocations: 0 / 0.9827 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.6926, allocations: 4 kB / 0.9827 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.6928, allocations: 61.62 kB / 0.9827 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.6928, allocations: 0 / 0.9827 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.6928, allocations: 3.938 kB / 0.9827 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6928, allocations: 0 / 0.9827 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.693, allocations: 47.95 kB / 0.9828 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.6934, allocations: 272.7 kB / 0.983 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.6935, allocations: 42.52 kB / 0.9831 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.6935, allocations: 0 / 0.9831 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.6935, allocations: 30.56 kB / 0.9831 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.6935, allocations: 4.062 kB / 0.9831 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003199/0.6938, allocations: 93.58 kB / 0.9832 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.6939, allocations: 51.41 kB / 0.9833 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.6939, allocations: 97.86 kB / 0.9833 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.694, allocations: 25.7 kB / 0.9834 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.694, allocations: 92.25 kB / 0.9835 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.694, allocations: 3.906 kB / 0.9835 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.694, allocations: 0 / 0.9835 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.6941, allocations: 318.8 kB / 0.9838 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.6942, allocations: 15.98 kB / 0.9838 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.6943, allocations: 27.98 kB / 0.9838 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.6944, allocations: 19.97 kB / 0.9838 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6944, allocations: 0 / 0.9838 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001891/0.6946, allocations: 77.62 kB / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6946, allocations: 8 kB / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.6946, allocations: 0 / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.6946, allocations: 0 / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.6948, allocations: 39.98 kB / 0.984 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.6948, allocations: 0 / 0.984 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.6949, allocations: 8 kB / 0.984 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.6949, allocations: 3.984 kB / 0.984 GB, free: 2.871 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.661e-05/0.695, allocations: 105.8 kB / 0.9841 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.695, allocations: 7.953 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.695, allocations: 7.125 kB / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.695, allocations: 0 / 0.9841 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.695, allocations: 4 kB / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.695, allocations: 0 / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.6952, allocations: 153.7 kB / 0.9842 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6952, allocations: 0 / 0.9842 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.6954, allocations: 43.89 kB / 0.9843 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6954, allocations: 0 / 0.9843 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.6954, allocations: 7.953 kB / 0.9843 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6954, allocations: 4 kB / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6954, allocations: 0 / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.6956, allocations: 167.5 kB / 0.9844 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.6957, allocations: 77.11 kB / 0.9845 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.6957, allocations: 4 kB / 0.9845 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.6958, allocations: 11.94 kB / 0.9845 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.6958, allocations: 0 / 0.9845 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.6958, allocations: 4 kB / 0.9845 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.6958, allocations: 79.28 kB / 0.9846 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6958, allocations: 0 / 0.9846 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002081/0.6961, allocations: 8.031 kB / 0.9846 GB, free: 2.109 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.0004571/0.6965, allocations: 0.7007 MB / 0.9853 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.6967, allocations: 43.91 kB / 0.9853 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6967, allocations: 0 / 0.9853 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.6968, allocations: 28.05 kB / 0.9854 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.697, allocations: 7.891 kB / 0.9854 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.6974, allocations: 134.4 kB / 0.9855 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.6976, allocations: 0.677 MB / 0.9862 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.6976, allocations: 4.062 kB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.6977, allocations: 7.438 kB / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.6977, allocations: 0 / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.7077, allocations: 0.9753 MB / 0.9871 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.7079, allocations: 215.2 kB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.29, allocations: 0 / 0.9873 GB, free: 15.36 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat does not exist to compare? outputFormat=mat