Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007927/0.0007927, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008311/0.0008311, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8855/0.8855, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.9 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.162e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003461/0.003482, allocations: 3.177 MB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.005285, allocations: 1.383 MB / 0.9854 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.005453, allocations: 11.94 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007733/0.006226, allocations: 334.6 kB / 0.9857 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.006575, allocations: 151 kB / 0.9859 GB, free: 13.57 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.00692, allocations: 175.3 kB / 0.986 GB, free: 13.39 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.007296, allocations: 342.7 kB / 0.9864 GB, free: 13.06 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.007713, allocations: 192.1 kB / 0.9865 GB, free: 12.87 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.008009, allocations: 199.4 kB / 0.9867 GB, free: 12.67 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.008293, allocations: 135.6 kB / 0.9869 GB, free: 12.54 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.008325, allocations: 20 kB / 0.9869 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.0086, allocations: 155.6 kB / 0.987 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.008738, allocations: 91.72 kB / 0.9871 GB, free: 12.28 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.576e-05/0.008814, allocations: 95.75 kB / 0.9872 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.009238, allocations: 370.8 kB / 0.9876 GB, free: 11.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.009243, allocations: 0 / 0.9876 GB, free: 11.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.009244, allocations: 0 / 0.9876 GB, free: 11.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.009251, allocations: 4 kB / 0.9876 GB, free: 11.82 MB / 0.948 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.000763/0.01001, allocations: 477.4 kB / 0.988 GB, free: 11.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.01007, allocations: 12.02 kB / 0.988 GB, free: 11.31 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.695e-05/0.01013, allocations: 54.73 kB / 0.9881 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.01052, allocations: 92.72 kB / 0.9882 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.01083, allocations: 198 kB / 0.9884 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.01084, allocations: 16.88 kB / 0.9884 GB, free: 10.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.01087, allocations: 20.38 kB / 0.9884 GB, free: 10.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.01132, allocations: 390.8 kB / 0.9888 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.01133, allocations: 4.188 kB / 0.9888 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.01135, allocations: 12.12 kB / 0.9888 GB, free: 10.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.01138, allocations: 24.42 kB / 0.9888 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.01162, allocations: 209.8 kB / 0.989 GB, free: 10.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.01264, allocations: 1.069 MB / 0.9901 GB, free: 9.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.01293, allocations: 122.5 kB / 0.9902 GB, free: 8.961 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.01299, allocations: 44.83 kB / 0.9902 GB, free: 8.914 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.01301, allocations: 4 kB / 0.9902 GB, free: 8.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.01303, allocations: 34.5 kB / 0.9903 GB, free: 8.867 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.01303, allocations: 0 / 0.9903 GB, free: 8.867 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0003833/0.01341, allocations: 186.3 kB / 0.9904 GB, free: 8.676 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.01345, allocations: 55.41 kB / 0.9905 GB, free: 8.609 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.0136, allocations: 207 kB / 0.9907 GB, free: 8.398 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.01361, allocations: 33.69 kB / 0.9907 GB, free: 8.359 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.01369, allocations: 171.9 kB / 0.9909 GB, free: 8.188 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.01371, allocations: 31.73 kB / 0.9909 GB, free: 8.156 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.01376, allocations: 41.66 kB / 0.9909 GB, free: 8.109 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.01385, allocations: 330.8 kB / 0.9913 GB, free: 7.777 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.01391, allocations: 47.97 kB / 0.9913 GB, free: 7.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/0.01399, allocations: 107 kB / 0.9914 GB, free: 7.598 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01415, allocations: 176.3 kB / 0.9916 GB, free: 7.395 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01415, allocations: 0 / 0.9916 GB, free: 7.395 MB / 0.948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002422/0.01439, allocations: 210.1 kB / 0.9918 GB, free: 7.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01441, allocations: 4 kB / 0.9918 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.01441, allocations: 4 kB / 0.9918 GB, free: 7.172 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.01458, allocations: 29.12 kB / 0.9918 GB, free: 7.141 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.01466, allocations: 39.91 kB / 0.9919 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007562/0.01542, allocations: 1.311 MB / 0.9931 GB, free: 5.676 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.01549, allocations: 27.84 kB / 0.9932 GB, free: 5.648 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.0155, allocations: 8 kB / 0.9932 GB, free: 5.641 MB / 0.948 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 9.983e-05/0.0156, allocations: 149.9 kB / 0.9933 GB, free: 5.484 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.01563, allocations: 19.84 kB / 0.9933 GB, free: 5.465 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.01565, allocations: 21.45 kB / 0.9934 GB, free: 5.441 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.01565, allocations: 0 / 0.9934 GB, free: 5.441 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01565, allocations: 4 kB / 0.9934 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01566, allocations: 0 / 0.9934 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.01609, allocations: 446.2 kB / 0.9938 GB, free: 4.949 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01609, allocations: 0 / 0.9938 GB, free: 4.949 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.01613, allocations: 15.98 kB / 0.9938 GB, free: 4.934 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-05/0.01619, allocations: 28.78 kB / 0.9938 GB, free: 4.902 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.0162, allocations: 8.062 kB / 0.9938 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006197/0.01682, allocations: 1.314 MB / 0.9951 GB, free: 3.465 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01683, allocations: 0 / 0.9951 GB, free: 3.465 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.01708, allocations: 244.4 kB / 0.9953 GB, free: 3.207 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.01712, allocations: 27.83 kB / 0.9954 GB, free: 3.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.01713, allocations: 0 / 0.9954 GB, free: 3.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.01719, allocations: 8 kB / 0.9954 GB, free: 3.172 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.01723, allocations: 7.984 kB / 0.9954 GB, free: 3.164 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.01723, allocations: 0 / 0.9954 GB, free: 3.164 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.01732, allocations: 148.4 kB / 0.9955 GB, free: 3.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01732, allocations: 0 / 0.9955 GB, free: 3.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002143/0.01753, allocations: 55.89 kB / 0.9956 GB, free: 2.965 MB / 0.948 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.0003702/0.0179, allocations: 0.7795 MB / 0.9963 GB, free: 2.156 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.01819, allocations: 230.5 kB / 0.9966 GB, free: 1.918 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01819, allocations: 0 / 0.9966 GB, free: 1.918 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.0183, allocations: 159.2 kB / 0.9967 GB, free: 1.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.01858, allocations: 43.34 kB / 0.9968 GB, free: 1.711 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.02031, allocations: 2.16 MB / 0.9989 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.02041, allocations: 136.2 kB / 0.999 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.467e-05/0.02048, allocations: 29.47 kB / 0.999 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.02055, allocations: 64.45 kB / 0.9991 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of SimCode: time 6.92e-07/0.02055, allocations: 4 kB / 0.9991 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.03935, allocations: 4.85 MB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.059, allocations: 1.547 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.063396689482033]