Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.0007717/0.0007717, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008228/0.0008228, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8891/0.8891, 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.715/1.715, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.129e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003508/0.003529, allocations: 3.185 MB / 0.9536 GB, free: 324 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.005207, allocations: 1.375 MB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.005355, allocations: 7.938 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.006058, allocations: 334.6 kB / 0.9552 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.00641, allocations: 155 kB / 0.9554 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.006763, allocations: 171.3 kB / 0.9556 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.007067, allocations: 338.7 kB / 0.9559 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.007412, allocations: 192.1 kB / 0.9561 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.007673, allocations: 211.4 kB / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.007875, allocations: 131.6 kB / 0.9564 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.007901, allocations: 20 kB / 0.9564 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.008127, allocations: 159.6 kB / 0.9566 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.008208, allocations: 91.72 kB / 0.9567 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.008279, allocations: 87.75 kB / 0.9567 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.00866, allocations: 370.9 kB / 0.9571 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.008664, allocations: 0 / 0.9571 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.252e-06/0.008665, allocations: 3.938 kB / 0.9571 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.008671, allocations: 3.938 kB / 0.9571 GB, free: 12.7 MB / 0.9167 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.0006697/0.00934, allocations: 481.4 kB / 0.9576 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.009381, allocations: 16.02 kB / 0.9576 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.009429, allocations: 58.73 kB / 0.9576 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.009816, allocations: 80.72 kB / 0.9577 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.01009, allocations: 206 kB / 0.9579 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.0101, allocations: 16.88 kB / 0.9579 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.01013, allocations: 16.38 kB / 0.9579 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.01052, allocations: 386.8 kB / 0.9583 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01053, allocations: 4.125 kB / 0.9583 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.01056, allocations: 16.12 kB / 0.9583 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.01058, allocations: 16.48 kB / 0.9583 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.01084, allocations: 209.8 kB / 0.9585 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009907/0.01183, allocations: 1.065 MB / 0.9596 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.01212, allocations: 118.5 kB / 0.9597 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.01218, allocations: 52.83 kB / 0.9597 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01219, allocations: 0 / 0.9597 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.01221, allocations: 34.56 kB / 0.9598 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.01221, allocations: 0 / 0.9598 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003811/0.01259, allocations: 182.4 kB / 0.9599 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.01262, allocations: 55.34 kB / 0.96 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.01279, allocations: 218.8 kB / 0.9602 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.0128, allocations: 29.64 kB / 0.9602 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.01288, allocations: 183.9 kB / 0.9604 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.0129, allocations: 31.73 kB / 0.9604 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.01295, allocations: 41.66 kB / 0.9605 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.01302, allocations: 330.8 kB / 0.9608 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.01308, allocations: 43.97 kB / 0.9608 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.01317, allocations: 106.3 kB / 0.9609 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.01337, allocations: 164.4 kB / 0.9611 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01337, allocations: 7.875 kB / 0.9611 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002447/0.01361, allocations: 218.2 kB / 0.9613 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01363, allocations: 4 kB / 0.9613 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01364, allocations: 4 kB / 0.9613 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.01378, allocations: 24.84 kB / 0.9613 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.01386, allocations: 31.98 kB / 0.9614 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007363/0.01459, allocations: 1.323 MB / 0.9627 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.01468, allocations: 19.88 kB / 0.9627 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.01469, allocations: 8 kB / 0.9627 GB, free: 6.512 MB / 0.9167 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.0002094/0.0149, allocations: 149.7 kB / 0.9628 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.01493, allocations: 19.84 kB / 0.9629 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.01495, allocations: 21.45 kB / 0.9629 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01495, allocations: 4.125 kB / 0.9629 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.01495, allocations: 4 kB / 0.9629 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01496, allocations: 0 / 0.9629 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.01539, allocations: 454.2 kB / 0.9633 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01539, allocations: 0 / 0.9633 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.01542, allocations: 11.98 kB / 0.9633 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.363e-05/0.01549, allocations: 24.84 kB / 0.9634 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.0155, allocations: 4 kB / 0.9634 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006228/0.01612, allocations: 1.318 MB / 0.9646 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01612, allocations: 0 / 0.9646 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01631, allocations: 236.2 kB / 0.9649 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.01636, allocations: 27.88 kB / 0.9649 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.01637, allocations: 0 / 0.9649 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.01644, allocations: 8.156 kB / 0.9649 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.01647, allocations: 11.98 kB / 0.9649 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.01648, allocations: 0 / 0.9649 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.557e-05/0.01656, allocations: 156.3 kB / 0.9651 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.01656, allocations: 0 / 0.9651 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002387/0.0168, allocations: 55.89 kB / 0.9651 GB, free: 3.832 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: 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.0003889/0.01719, allocations: 0.7824 MB / 0.9659 GB, free: 3.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.01751, allocations: 222.6 kB / 0.9661 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01752, allocations: 288 / 0.9661 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.01788, allocations: 158.6 kB / 0.9662 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01817, allocations: 49.66 kB / 0.9663 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.01987, allocations: 2.147 MB / 0.9684 GB, free: 288 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.01997, allocations: 144.2 kB / 0.9685 GB, free: 124 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.095e-05/0.02006, allocations: 29.86 kB / 0.9686 GB, free: 92 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.02013, allocations: 60.47 kB / 0.9686 GB, free: 32 kB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/0.02013, allocations: 0 / 0.9686 GB, free: 32 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.03808, allocations: 4.835 MB / 0.9733 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.556, allocations: 7.062 kB / 0.9733 GB, free: 11.38 MB / 0.9323 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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: 11.57161661889404]