Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008827/0.0008827, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8986/0.8986, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.912e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002257/0.002276, allocations: 1.25 MB / 0.9517 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.00309, allocations: 470.9 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.00312, allocations: 0 / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.003139, allocations: 0 / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.003174, allocations: 3.938 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.003726, allocations: 127.4 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.259e-05/0.003798, allocations: 23.91 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.00384, allocations: 7.984 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.003879, allocations: 8 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.737e-05/0.003906, allocations: 7.984 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.003921, allocations: 0 / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.004137, allocations: 151.7 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.004153, allocations: 7.938 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.004176, allocations: 7.969 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004351, allocations: 123.7 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.004354, allocations: 8 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004356, allocations: 0 / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.00436, allocations: 3.938 kB / 0.9526 GB, free: 1.305 MB / 0.9011 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.0003881/0.004748, allocations: 317.4 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.004782, allocations: 8.031 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.004835, allocations: 30.75 kB / 0.9529 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.004859, allocations: 4.938 kB / 0.9529 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.71e-05/0.004926, allocations: 113.7 kB / 0.953 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.004946, allocations: 8.375 kB / 0.953 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-06/0.004953, allocations: 4.375 kB / 0.953 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.917e-05/0.005042, allocations: 38.25 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.005049, allocations: 192 / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.005058, allocations: 384 / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.005064, allocations: 4.125 kB / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.005089, allocations: 15.98 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.005346, allocations: 212.1 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.335e-05/0.005419, allocations: 34.5 kB / 0.9533 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.005447, allocations: 20.94 kB / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.005456, allocations: 7.984 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.005565, allocations: 63.34 kB / 0.9534 GB, free: 304 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.005566, allocations: 0 / 0.9534 GB, free: 304 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001673/0.005733, allocations: 77.61 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.005766, allocations: 55.41 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.005821, allocations: 113.7 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.005844, allocations: 25.7 kB / 0.9537 GB, free: 16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.005873, allocations: 84.14 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.005889, allocations: 11.89 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.005917, allocations: 25.7 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.005994, allocations: 318.8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.006013, allocations: 11.98 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.006043, allocations: 35.44 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.006131, allocations: 59.36 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006133, allocations: 4 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ -1.0 , 1.0 ; 1.0 , -1.0 ] * [ $outputAlias_y ; $PRE.$outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $PRE.$outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002573/0.006391, allocations: 113.4 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.006409, allocations: 10.66 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006413, allocations: 0 / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.997e-05/0.006483, allocations: 16.86 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.006531, allocations: 4 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007281/0.007259, allocations: 1.371 MB / 0.9557 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.007279, allocations: 3.953 kB / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.007287, allocations: 8.219 kB / 0.9557 GB, free: 13.77 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (curSeed,$PRE.curSeed,$whenCondition1,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.537e-05/0.007363, allocations: 118.4 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.007371, allocations: 7.875 kB / 0.9558 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-06/0.00738, allocations: 8.125 kB / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007382, allocations: 3.984 kB / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.007384, allocations: 4 kB / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.007387, allocations: 0 / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.007555, allocations: 273.7 kB / 0.9561 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.007557, allocations: 0 / 0.9561 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.007568, allocations: 11.94 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.00757, allocations: 0 / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.007576, allocations: 0 / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007577, allocations: 3.984 kB / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007578, allocations: 0 / 0.9561 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.405e-05/0.007662, allocations: 167.4 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-06/0.007666, allocations: 3.938 kB / 0.9563 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-06/0.007673, allocations: 7.984 kB / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.007702, allocations: 0 / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.007718, allocations: 0 / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.007724, allocations: 7.938 kB / 0.9563 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.572e-05/0.00775, allocations: 91.27 kB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.00775, allocations: 0 / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000236/0.007986, allocations: 35.94 kB / 0.9564 GB, free: 12.96 MB / 0.9167 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,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.0005012/0.008487, allocations: 0.7976 MB / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.008749, allocations: 150.5 kB / 0.9573 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.008751, allocations: 4.125 kB / 0.9573 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.008781, allocations: 8 kB / 0.9573 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.008991, allocations: 10.19 kB / 0.9574 GB, free: 11.97 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ $PRE.$outputAlias_y ; $outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.01016, allocations: 1.36 MB / 0.9587 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.959e-05/0.01021, allocations: 75.23 kB / 0.9588 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.01023, allocations: 0 / 0.9588 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.01026, allocations: 16.5 kB / 0.9588 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.01027, allocations: 0 / 0.9588 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.02648, allocations: 2.968 MB / 0.9617 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.012/7.039, allocations: 7.844 kB / 0.9617 GB, free: 7.555 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y [Calling sys.exit(0), Time elapsed: 11.049590886570513]