Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",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.004878/0.004877, allocations: 99.52 kB / 15.73 MB, free: 6.02 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.001302/0.001302, allocations: 191.9 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.549/2.549, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 67.83 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.624/0.6258, allocations: 159.1 MB / 1.22 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002089/0.6279, allocations: 1.201 MB / 1.221 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007261/0.6287, allocations: 378.7 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.6287, allocations: 0 / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.6287, allocations: 3.938 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.6288, allocations: 4 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.6292, allocations: 95.64 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.6293, allocations: 15.98 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.234e-05/0.6293, allocations: 0 / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.6294, allocations: 11.98 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.582e-05/0.6294, allocations: 11.94 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.6294, allocations: 0 / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.6296, allocations: 87.84 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.6296, allocations: 7.984 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.6296, allocations: 11.92 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.6298, allocations: 83.55 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.6298, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6298, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.6298, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 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.0004676/0.6303, allocations: 381 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.6303, allocations: 11.97 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.008e-05/0.6304, allocations: 30.75 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.6304, allocations: 8.875 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.6305, allocations: 164.3 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.6306, allocations: 4.359 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.6306, allocations: 8.359 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.632e-05/0.6307, allocations: 42.25 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6307, allocations: 3.938 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.6307, allocations: 4 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6307, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.6308, allocations: 4 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.6311, allocations: 244.9 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.712e-05/0.6312, allocations: 38.5 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.6312, allocations: 16.95 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.6312, allocations: 7.984 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.6314, allocations: 55.41 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.6314, allocations: 0 / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0001887/0.6316, allocations: 73.61 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.6316, allocations: 55.41 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.6317, allocations: 89.86 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.6317, allocations: 37.83 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.6317, allocations: 80.14 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.6318, allocations: 19.81 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.6318, allocations: 21.72 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6319, allocations: 314.8 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.632, allocations: 11.92 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.632, allocations: 31.44 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.6321, allocations: 55.36 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6321, allocations: 3.938 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.6322, allocations: 73.56 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6322, allocations: 11.98 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.6322, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.6322, allocations: 352 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.6323, allocations: 12.06 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.6323, allocations: 8 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.6323, allocations: 7.938 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.6324, allocations: 7.938 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/0.6324, allocations: 117.8 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.6325, allocations: 7.922 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.6325, allocations: 3.562 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6325, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.6325, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6325, allocations: 4 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.6328, allocations: 294.6 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6328, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.6328, allocations: 7.984 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6328, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.6328, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6328, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.6328, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.633, allocations: 175.4 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.633, allocations: 81.09 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.6331, allocations: 4 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.6331, allocations: 4 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.6331, allocations: 0 / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.6331, allocations: 4 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.6332, allocations: 79.27 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.6332, allocations: 0 / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002562/0.6334, allocations: 35.81 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007028/0.6342, allocations: 0.7654 MB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.6343, allocations: 36.05 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6343, allocations: 4 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.6343, allocations: 12 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.6345, allocations: 10.17 kB / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.6356, allocations: 1.246 MB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.6359, allocations: 0.6846 MB / 1.227 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.6359, allocations: 7.844 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.6359, allocations: 19.42 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.6359, allocations: 0 / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.305/1.941, allocations: 1.905 MB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.628/11.57, allocations: 7.797 kB / 1.229 GB, free: 8.426 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:p,seed,time,y