Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.001227/0.001227, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001202/0.001203, allocations: 195.5 kB / 16.25 MB, free: 6.633 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6066, allocations: 140.4 MB / 0.9492 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00416/0.6108, allocations: 3.25 MB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.6126, allocations: 1.351 MB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.6127, allocations: 8.188 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008546/0.6136, allocations: 315.3 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.6138, allocations: 136.5 kB / 0.9542 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.6141, allocations: 138.1 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.6144, allocations: 333.3 kB / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.6149, allocations: 286.4 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.615, allocations: 135.6 kB / 0.955 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.6153, allocations: 157.9 kB / 0.9552 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.6153, allocations: 19.34 kB / 0.9552 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.6155, allocations: 168.8 kB / 0.9554 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.6156, allocations: 84.19 kB / 0.9554 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.6158, allocations: 119.9 kB / 0.9555 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.6161, allocations: 366.6 kB / 0.9559 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6161, allocations: 8.938 kB / 0.9559 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6162, allocations: 0 / 0.9559 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.6162, allocations: 0 / 0.9559 GB, free: 4.133 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007548/0.6169, allocations: 0.5317 MB / 0.9564 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.617, allocations: 10 kB / 0.9564 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.617, allocations: 59.16 kB / 0.9565 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005356/0.6176, allocations: 85.92 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.6178, allocations: 251.7 kB / 0.9568 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.6178, allocations: 20.28 kB / 0.9568 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.6179, allocations: 21.81 kB / 0.9569 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.6183, allocations: 313.4 kB / 0.9572 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6183, allocations: 1.812 kB / 0.9572 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.6184, allocations: 5.75 kB / 0.9572 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.6184, allocations: 22.8 kB / 0.9572 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.6187, allocations: 214.5 kB / 0.9574 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.6199, allocations: 1.504 MB / 0.9589 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.6203, allocations: 203.1 kB / 0.959 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.6204, allocations: 46.03 kB / 0.9591 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.6204, allocations: 1.219 kB / 0.9591 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.6205, allocations: 35.31 kB / 0.9591 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.6205, allocations: 0.7188 kB / 0.9591 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005216/0.621, allocations: 260.2 kB / 0.9594 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.621, allocations: 56.47 kB / 0.9594 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.6212, allocations: 208.5 kB / 0.9596 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.6212, allocations: 26.83 kB / 0.9597 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.6213, allocations: 180.2 kB / 0.9598 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.6213, allocations: 23.91 kB / 0.9598 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.6214, allocations: 42.17 kB / 0.9599 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.6214, allocations: 327 kB / 0.9602 GB, free: 216 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.6215, allocations: 44.31 kB / 0.9602 GB, free: 196 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.6217, allocations: 113.8 kB / 0.9604 GB, free: 84 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.6219, allocations: 163.5 kB / 0.9605 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6219, allocations: 1.062 kB / 0.9605 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000384/0.6223, allocations: 223.7 kB / 0.9607 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6223, allocations: 6.969 kB / 0.9607 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6224, allocations: 1.625 kB / 0.9607 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.6225, allocations: 30.94 kB / 0.9608 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.6227, allocations: 37.14 kB / 0.9608 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.6239, allocations: 1.421 MB / 0.9622 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.624, allocations: 18.53 kB / 0.9622 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.6241, allocations: 10.75 kB / 0.9622 GB, free: 14.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.0001687/0.6242, allocations: 155.1 kB / 0.9624 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.6243, allocations: 23.91 kB / 0.9624 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.6243, allocations: 21.11 kB / 0.9624 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6243, allocations: 0.7812 kB / 0.9624 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.6243, allocations: 1.094 kB / 0.9624 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6244, allocations: 0 / 0.9624 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/0.625, allocations: 489.9 kB / 0.9629 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.625, allocations: 0 / 0.9629 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.6251, allocations: 8.875 kB / 0.9629 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.783e-05/0.6252, allocations: 28.31 kB / 0.9629 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.6252, allocations: 0 / 0.9629 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.6262, allocations: 1.428 MB / 0.9643 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6262, allocations: 0 / 0.9643 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.6265, allocations: 246.1 kB / 0.9645 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.6266, allocations: 96.47 kB / 0.9646 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.6266, allocations: 4 kB / 0.9646 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.6268, allocations: 8.891 kB / 0.9646 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.6268, allocations: 3.531 kB / 0.9646 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.6268, allocations: 1.312 kB / 0.9646 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000132/0.627, allocations: 154.1 kB / 0.9648 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.627, allocations: 0 / 0.9648 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003255/0.6273, allocations: 56.47 kB / 0.9648 GB, free: 11.77 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 (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 Backend phase and start with SimCode phase: time 0.0005913/0.6279, allocations: 0.7764 MB / 0.9656 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.6283, allocations: 233.5 kB / 0.9658 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6284, allocations: 1.125 kB / 0.9658 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.6286, allocations: 161.6 kB / 0.966 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.629, allocations: 45.56 kB / 0.966 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.6315, allocations: 2.221 MB / 0.9682 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.6319, allocations: 0.7589 MB / 0.9689 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.632, allocations: 27.75 kB / 0.969 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.6321, allocations: 58.56 kB / 0.969 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6321, allocations: 0 / 0.969 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4837/1.116, allocations: 3.847 MB / 0.9728 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/1.116, allocations: 224.2 kB / 0.973 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/3.74, allocations: 5.766 kB / 0.973 GB, free: 5.902 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches