Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.001453/0.001453, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.462/2.462, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6282, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002042/0.6302, allocations: 1.221 MB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007869/0.631, allocations: 462.5 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.6311, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.6311, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.29e-05/0.6312, allocations: 3.938 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.6317, allocations: 111.6 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.6317, allocations: 23.92 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.6318, allocations: 4 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.6318, allocations: 11.97 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.777e-05/0.6318, allocations: 11.94 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.6318, allocations: 4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.6321, allocations: 103.8 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.6321, allocations: 11.98 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.6321, allocations: 7.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.6323, allocations: 95.8 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6323, allocations: 4 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6323, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6323, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 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.00041/0.6327, allocations: 384.6 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.6328, allocations: 16.03 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.6328, allocations: 34.66 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.6329, allocations: 0.9375 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.633, allocations: 172.3 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.633, allocations: 4.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.633, allocations: 12.36 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.6331, allocations: 38.25 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.6331, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.6331, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6331, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.6332, allocations: 12 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.6334, allocations: 252.8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.6335, allocations: 34.52 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.6336, allocations: 20.94 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.6336, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.6337, allocations: 59.39 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.6337, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001844/0.6339, allocations: 81.61 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.634, allocations: 51.41 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.634, allocations: 109.8 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.6341, allocations: 25.7 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.6341, allocations: 84.14 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.6341, allocations: 23.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.6342, allocations: 17.72 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.6342, allocations: 314.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.6343, allocations: 11.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.6343, allocations: 35.42 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.6344, allocations: 59.34 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6344, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.854e-05/0.6345, allocations: 73.55 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.6345, allocations: 8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.6345, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6345, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.6346, allocations: 11.94 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6346, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.6346, allocations: 15.91 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6346, allocations: 8 kB / 1.021 GB, free: 14.18 MB / 0.7794 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 5.881e-05/0.6347, allocations: 109.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.6347, allocations: 7.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.6348, allocations: 11.91 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6348, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6348, allocations: 0.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6348, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.635, allocations: 306.6 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.635, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.635, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.635, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.6351, allocations: 3.938 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6351, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6351, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.6352, allocations: 171.3 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.6352, allocations: 85.11 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.6353, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.75e-05/0.6353, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.6353, allocations: 3.984 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6354, allocations: 8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.6354, allocations: 79.28 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6354, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002704/0.6357, allocations: 39.92 kB / 1.022 GB, free: 13.26 MB / 0.7794 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.0005876/0.6363, allocations: 0.7722 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.6364, allocations: 35.86 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.6364, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.6364, allocations: 20.11 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.6366, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008957/0.6375, allocations: 1.281 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.6377, allocations: 0.6846 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.6377, allocations: 7.984 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.6378, allocations: 15.38 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6378, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.7507, allocations: 2.042 MB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.78, allocations: 7.953 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y