Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.484/2.484, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 67.89 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.7394, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004282/0.7437, allocations: 3.995 MB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.7457, allocations: 1.794 MB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.7459, allocations: 11.12 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.747, allocations: 0.5083 MB / 1.278 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.7474, allocations: 226.8 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.7478, allocations: 209.2 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.7483, allocations: 473.2 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.7487, allocations: 269.8 kB / 1.279 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.7489, allocations: 194.4 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.7492, allocations: 224.7 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.7492, allocations: 28.69 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.7496, allocations: 251 kB / 1.279 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.7498, allocations: 132.7 kB / 1.279 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.7499, allocations: 170.2 kB / 1.28 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.7505, allocations: 0.5069 MB / 1.28 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7505, allocations: 5.094 kB / 1.28 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7505, allocations: 0 / 1.28 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.7505, allocations: 0.5 kB / 1.28 GB, free: 2.406 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008392/0.7514, allocations: 0.6438 MB / 1.281 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7514, allocations: 9.969 kB / 1.281 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.7515, allocations: 65.42 kB / 1.281 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.7523, allocations: 138.1 kB / 1.281 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.7526, allocations: 305.1 kB / 1.281 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.7526, allocations: 19.72 kB / 1.281 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.7527, allocations: 34.89 kB / 1.281 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.7532, allocations: 457.4 kB / 1.282 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7532, allocations: 1.812 kB / 1.282 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.7533, allocations: 24.95 kB / 1.282 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/0.7533, allocations: 25.03 kB / 1.282 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.7537, allocations: 326.8 kB / 1.282 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.7555, allocations: 2.179 MB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.7559, allocations: 242.2 kB / 1.284 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.7561, allocations: 99.45 kB / 1.285 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.7561, allocations: 2.719 kB / 1.285 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.7561, allocations: 31.17 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.7561, allocations: 0 / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0005435/0.7566, allocations: 299.7 kB / 1.285 GB, free: 14.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.7567, allocations: 57.45 kB / 1.285 GB, free: 14.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.7569, allocations: 273.9 kB / 1.285 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.757, allocations: 25.7 kB / 1.285 GB, free: 14.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.7571, allocations: 217.3 kB / 1.285 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.7571, allocations: 53.41 kB / 1.285 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.7572, allocations: 47.62 kB / 1.285 GB, free: 14.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7573, allocations: 337.3 kB / 1.286 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.7574, allocations: 56.38 kB / 1.286 GB, free: 13.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.7576, allocations: 140.6 kB / 1.286 GB, free: 13.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.7579, allocations: 228.9 kB / 1.286 GB, free: 13.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7579, allocations: 0 / 1.286 GB, free: 13.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003849/0.7582, allocations: 263.2 kB / 1.286 GB, free: 13.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.7583, allocations: 10.66 kB / 1.286 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7583, allocations: 2.625 kB / 1.286 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.7584, allocations: 27.77 kB / 1.287 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.7586, allocations: 53.2 kB / 1.287 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.7597, allocations: 1.419 MB / 1.288 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.7598, allocations: 31.92 kB / 1.288 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.7598, allocations: 9.031 kB / 1.288 GB, free: 12 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 0.0001619/0.76, allocations: 174.6 kB / 1.288 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.76, allocations: 23.08 kB / 1.288 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.7601, allocations: 27.06 kB / 1.288 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.7601, allocations: 2.281 kB / 1.288 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.7601, allocations: 0.75 kB / 1.288 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7601, allocations: 2 kB / 1.288 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008811/0.761, allocations: 0.7073 MB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.761, allocations: 1.25 kB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.7611, allocations: 21.38 kB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.233e-05/0.7612, allocations: 28.39 kB / 1.289 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.7612, allocations: 11.06 kB / 1.289 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009958/0.7622, allocations: 1.418 MB / 1.29 GB, free: 9.828 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.7622, allocations: 6.281 kB / 1.29 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.7625, allocations: 317.5 kB / 1.291 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.7626, allocations: 119 kB / 1.291 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.7626, allocations: 3.828 kB / 1.291 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.7628, allocations: 11.72 kB / 1.291 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.7628, allocations: 18.89 kB / 1.291 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.7628, allocations: 13.12 kB / 1.291 GB, free: 9.438 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001782/0.763, allocations: 190 kB / 1.291 GB, free: 9.328 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.763, allocations: 0 / 1.291 GB, free: 9.328 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003784/0.7634, allocations: 74.8 kB / 1.291 GB, free: 9.316 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0005971/0.764, allocations: 0.856 MB / 1.292 GB, free: 8.523 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.7644, allocations: 265.2 kB / 1.292 GB, free: 8.359 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7644, allocations: 1.531 kB / 1.292 GB, free: 8.359 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.7646, allocations: 178.9 kB / 1.292 GB, free: 8.227 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.765, allocations: 71.92 kB / 1.292 GB, free: 8.199 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.7679, allocations: 2.715 MB / 1.295 GB, free: 6.207 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.7683, allocations: 0.7914 MB / 1.296 GB, free: 5.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.7684, allocations: 42.08 kB / 1.296 GB, free: 5.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.7685, allocations: 84.73 kB / 1.296 GB, free: 5.43 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.7685, allocations: 0 / 1.296 GB, free: 5.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.799, allocations: 5.397 MB / 1.301 GB, free: 4.773 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.731/9.53, allocations: 8.938 kB / 1.301 GB, free: 4.77 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.818656974999612]