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.0008156/0.0008156, 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.0009281/0.0009281, 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.454/1.454, allocations: 223.2 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.455/2.455, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003402, allocations: 19.98 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7153, allocations: 146.8 MB / 0.9812 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.0009248/0.7163, allocations: 409.1 kB / 0.9815 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.7173, allocations: 0.7751 MB / 0.9823 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.7173, allocations: 0 / 0.9823 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.7173, allocations: 7.922 kB / 0.9823 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.7174, allocations: 4 kB / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.882e-05/0.7175, allocations: 8 kB / 0.9823 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.7176, allocations: 19.92 kB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.7177, allocations: 4 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.7177, allocations: 4 kB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.7178, allocations: 15.92 kB / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.7178, allocations: 0 / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-06/0.7178, allocations: 0 / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.7178, allocations: 0 / 0.9824 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.7178, allocations: 29.7 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.898e-05/0.7179, allocations: 19.94 kB / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7179, allocations: 4 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7179, allocations: 0 / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7179, allocations: 0 / 0.9824 GB, free: 4.977 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.0004239/0.7184, allocations: 341.6 kB / 0.9827 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7184, allocations: 11.97 kB / 0.9827 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.7184, allocations: 38.5 kB / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.7185, allocations: 8 kB / 0.9828 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.7186, allocations: 159.1 kB / 0.9829 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.7186, allocations: 4 kB / 0.9829 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.7186, allocations: 0 / 0.9829 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.7188, allocations: 57.62 kB / 0.983 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.7188, allocations: 0 / 0.983 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.7188, allocations: 4 kB / 0.983 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7188, allocations: 0 / 0.983 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.719, allocations: 51.94 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.7194, allocations: 276.6 kB / 0.9833 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.892e-05/0.7195, allocations: 34.56 kB / 0.9834 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.7196, allocations: 28.89 kB / 0.9834 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.7196, allocations: 8 kB / 0.9834 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7196, allocations: 30.56 kB / 0.9834 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.7196, allocations: 0 / 0.9834 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003061/0.7199, allocations: 89.69 kB / 0.9835 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.72, allocations: 55.39 kB / 0.9836 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.7201, allocations: 101.9 kB / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.7201, allocations: 25.7 kB / 0.9837 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.7201, allocations: 80.14 kB / 0.9838 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.7201, allocations: 3.906 kB / 0.9838 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.7202, allocations: 0 / 0.9838 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7203, allocations: 322.9 kB / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.7204, allocations: 19.98 kB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.7204, allocations: 15.98 kB / 0.9841 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.771e-05/0.7205, allocations: 24.05 kB / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7205, allocations: 0 / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000164/0.7207, allocations: 81.55 kB / 0.9842 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7207, allocations: 4 kB / 0.9842 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7207, allocations: 4.031 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.7207, allocations: 0 / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.7209, allocations: 31.97 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.7209, allocations: 3.984 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.721, allocations: 12 kB / 0.9843 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.721, allocations: 3.938 kB / 0.9843 GB, free: 2.855 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 7.263e-05/0.721, allocations: 109.8 kB / 0.9844 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.7211, allocations: 3.953 kB / 0.9844 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.7211, allocations: 7.109 kB / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.7211, allocations: 0 / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7211, allocations: 0 / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.7211, allocations: 0 / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.7213, allocations: 153.7 kB / 0.9845 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7213, allocations: 4 kB / 0.9845 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.7214, allocations: 43.95 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7214, allocations: 3.953 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.7214, allocations: 0 / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7214, allocations: 0 / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7215, allocations: 0 / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.7217, allocations: 167.5 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.7217, allocations: 81.09 kB / 0.9848 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.7217, allocations: 3.953 kB / 0.9848 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.7218, allocations: 15.97 kB / 0.9848 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.7219, allocations: 7.984 kB / 0.9848 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.7219, allocations: 0 / 0.9848 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.7219, allocations: 83.28 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7219, allocations: 0 / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002041/0.7221, allocations: 4 kB / 0.9849 GB, free: 2.09 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.0004931/0.7226, allocations: 0.7006 MB / 0.9856 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.7228, allocations: 47.98 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7228, allocations: 4 kB / 0.9857 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.7229, allocations: 19.98 kB / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.7232, allocations: 12.08 kB / 0.9857 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.7236, allocations: 130.3 kB / 0.9858 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.7238, allocations: 0.677 MB / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.7239, allocations: 0 / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.7239, allocations: 7.438 kB / 0.9865 GB, free: 404 kB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.7239, allocations: 0 / 0.9865 GB, free: 404 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.7346, allocations: 0.9989 MB / 0.9874 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.7348, allocations: 213.1 kB / 0.9877 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.418, allocations: 4 kB / 0.9877 GB, free: 15.33 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